This should get integrated into Roassal. Could you
please point us to the implementation?
In
http://smalltalkhub.com/#!/~MathieuDehouck/RoassalAlgorithm
A comparison between the old radial layout and the new one:
RORadialTreeLayout is the old layout.
RORadialTreeLayout_N is the new Mathieu's layout.
Mathieu's layout is slightly slower, however the result is more exploitable, nodes are
less cluttered.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
| view |
view := ROMondrianViewBuilder new.
view nodes: Object withAllSubclasses.
view edgesFrom: #superclass.
[view layout: (RORadialTreeLayout new).
view applyLayout.] timeToRun
=> 6779
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
| view |
view := ROMondrianViewBuilder new.
view nodes: Object withAllSubclasses.
view edgesFrom: #superclass.
[view layout: (RORadialTreeLayout_N new).
view applyLayout.] timeToRun
=> 7420
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
I had a look at RORadialTreeLayout_N. Several "Transcript show" are still
present. Do you consider the code finished? If yes, then I can do some cleaning and write
some unit tests.
Good job Mathieu!
Cheers,
Alexandre
Cheers,
Doru
On Tue, Apr 9, 2013 at 2:00 PM, <mathieubmddehouck(a)mailoo.org> wrote:
Hello
I've been working on a new radial tree layout for Roassal.
The code still needs some improvements, but the algorithm seems to work.
Here are some screenshots for comparison.
I'd like to add Bezier curves to Roassal.
Mathieu
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.tudorgirba.com
"Every thing has its own flow"
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.