Roassal Features

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Roassal Features

Usman Bhatti
Hello,

I am looking for two features in Roassal.

- I would like to customized the color of the labels added on the fly with ROAddName/RORemoveName (See example ROMondrianViewBuilder>>addingNameOn:).
- Possibility to create dynamicEdges in both directions (incoming/outgoing), currently, we can only create outgoing edges.

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?

tx,

Usman



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Roassal Features

abergel
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?

Cheers,
Alexandre

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

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




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Roassal Features

Usman Bhatti



On Mon, May 20, 2013 at 12:46 AM, Alexandre Bergel <[hidden email]> 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
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

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




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev