Fade layout

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

Fade layout

Alexandre Bergel
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
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Fade layout

Tudor Girba
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
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
www.tudorgirba.com

"In a world where everything is moving ever faster,
one might have better chances to win by moving slower."




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

Re: Fade layout

abergel
My fault. This is now fixed.

Alexandre


On 22 Feb 2011, at 07:03, Tudor Girba wrote:

> 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
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> www.tudorgirba.com
>
> "In a world where everything is moving ever faster,
> one might have better chances to win by moving slower."
>
>
>
>
> _______________________________________________
> 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