Composing layout

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

Composing layout

abergel
Hi!

Here is another big todo. Layouts need to be composable. 
I often experience the need to have compact visualizations. 

I added a new layout RTPartitionLayout.
Here is an example:
-=-=-=-=-=-=-=-=-=-=-=-=
classes := (RPackageOrganizer default packageNamed: 'Roassal2') definedClasses.
classes := classes copyWithout: RTObject.

b := RTMondrian new.
b nodes: classes.
b edges connectFrom: #superclass.
b normalizer 
normalizeColor: #numberOfLinesOfCode;
normalizeSize: #numberOfMethods.
b layout partition
withinGroup: RTTreeLayout;
forNotConnected: RTGridLayout;
forGroups: RTFlowLayout.
b
-=-=-=-=-=-=-=-=-=-=-=-=



Isn’t that cool? 

Cheers,
Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




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

Re: Composing layout

Kjell Godo
+1

On Mon, Dec 12, 2016 at 09:49 Alexandre Bergel <[hidden email]> wrote:
Hi!

Here is another big todo. Layouts need to be composable. 
I often experience the need to have compact visualizations. 

I added a new layout RTPartitionLayout.
Here is an example:
-=-=-=-=-=-=-=-=-=-=-=-=
classes := (RPackageOrganizer default packageNamed: 'Roassal2') definedClasses.
classes := classes copyWithout: RTObject.

b := RTMondrian new.
b nodes: classes.
b edges connectFrom: #superclass.
b normalizer 
normalizeColor: #numberOfLinesOfCode;
normalizeSize: #numberOfMethods.
b layout partition
withinGroup: RTTreeLayout;
forNotConnected: RTGridLayout;
forGroups: RTFlowLayout.
b
-=-=-=-=-=-=-=-=-=-=-=-=



Isn’t that cool? 

Cheers,
Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



_______________________________________________

Moose-dev mailing list

[hidden email]

https://www.list.inf.unibe.ch/listinfo/moose-dev


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

Screen Shot 2016-12-12 at 6.44.24 PM.png (216K) Download Attachment