On Mon, May 20, 2013 at 12:46 AM, Alexandre Bergel <alexandre.bergel@me.com> wrote:
Hi!

> - I would like to customized the color of the labels added on the fly with ROAddName/RORemoveName (See example ROMondrianViewBuilder>>addingNameOn:).

In the last version of Roassal you can now send


> - Possibility to create dynamicEdges in both directions (incoming/outgoing), currently, we can only create outgoing edges.

Something like:
-=-=-=-=-=-==-=-=-=-=-=-==
view interaction
        dynamicEdgeFromAll: [ :model | ...  ]
        using: ....
-=-=-=-=-=-==-=-=-=-=-=-==

I have just implemented this in the last version of Roassal.

-=-=-=-=-=-==-=-=-=-=-=-==
dep := Dictionary new.
dep at: #Layer1 put: #(Layer2 Layer3 Layer5).
dep at: #Layer2 put: #(Layer1 Layer3 Layer4 Layer5).
dep at: #Layer3 put: #(Layer1 Layer2 Layer4 Layer5).

view interaction
        dynamicEdgeFromAll: [ :model | dep at: model ifAbsent: #() ]
        using: (ROLine red add: ROArrow new).

view shape rectangle withText.
view nodes: #(Layer1 Layer2 Layer3 Layer4 Layer5).

view circleLayout.
-=-=-=-=-=-==-=-=-=-=-=-==


> If there's already a way of doing these, I would like to know how?
> If not, do you want me to submit a slice?

Does this fit your need?

Yes. Both work like a charm :-).
tx

usman
 

Cheers,
Alexandre

>
> tx,
>
> Usman
>
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev@iam.unibe.ch
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev