roassal force based layout does not take into account the size of nodes

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

roassal force based layout does not take into account the size of nodes

Tudor Girba-2
Hi,

I am playing with ROForceBasedLayout, and I just realize that it does not take into account the size of nodes. That is a pity.

For example, if you execute:
view nodes: (1 to: 100).
view edgesFrom: [ :x | x // 5 ].
view forceBasedLayout

... you get a nice picture.

But, if you execute:
view shape rectangle size: #yourself.
view nodes: (1 to: 100).
view edgesFrom: [ :x | x // 5 ].
view forceBasedLayout

... you get a messy one with overlapping nodes.

Would it be difficult to make the layout react to the size of nodes?

Cheers,
Doru

--

"Every thing has its own flow"

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