Sounds cool.
Just a note: the package is not specified in the default version. Please update the
default version of every time you modify the package structure.
Cheers,
Doru
On 21 Feb 2011, at 18:01, Alexandre Bergel wrote:
Hi,
I am glad to announce that I incorporated Eduardo's work into Mondrian. He
implemented FADE.
FADE is a force directly algorithm (also called spring algorithm or spring layout)
invented by Aaron Quigley
(
http://www.cs.st-andrews.ac.uk/~aquigley/?Research:Past_Projects:FADE). FADE is faster
than MOForceBasedLayout when more than 350 edges and 350 nodes have to be layouted.
On my machine:
[| view |
view := MOViewRenderer new.
view shape rectangle withText.
view nodes: Collection withAllSubclasses.
view nodes: Morph withAllSubclasses.
view edgesFrom: #superclass.
view XXXXX.
view root applyLayout ] timeToRun
For XXX = fadeLayout, it takes 12204 ms to compute
For XXX = forceBasedLayout, it takes 17604ms
In version 2.51 of Mondrian
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
"In a world where everything is moving ever faster,
one might have better chances to win by moving slower."
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch