On Dec 4, 2015, at 12:25, Alexandre Bergel
<alexandre.bergel(a)me.com> wrote:
Hi!
I did some small improvement of the layout builder. For example:
-=-=-=-=-=-=-=-=
b := RTMondrian new.
b nodes: (1 to: 100).
b layout
force;
ifNotConnectedThen: RTGridLayout new.
b edges connectTo: [ :v | v \\ 4 ].
b
-=-=-=-=-=-=-=-=
<Screen Shot 2015-12-04 at 11.51.41 AM.png>
I have also introduced a null layout to move all elements at the same position. This is a
simple way to discard elements.
-=-=-=-=-=-=-=-=
b := RTMondrian new.
b nodes: (1 to: 100).
b layout
force;
ifNotConnectedThen: RTNullLayout new.
b edges connectTo: [ :v | v \\ 4 ].
b
-=-=-=-=-=-=-=-=
<Screen Shot 2015-12-04 at 11.52.57 AM.png>
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu <http://www.bergel.eu/>
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)list.inf.unibe.ch
https://www.list.inf.unibe.ch/listinfo/moose-dev
PLEIAD and RyCh labs - Computer Science Department (DCC) - University of Chile