Easy:

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
packages := #('Announcements-Tests-Core' 'Announcements-Core') collect: [ :pName | RPackageOrganizer default packageNamed: pName ].

b := RTMondrian new.
b shape box withTextAbove: #packageName.
b nodes: packages forEach: [ :pak |
b nodes: pak classes.
b edges connectToAll: #subclasses.
b layout tree. ].

b shape line color: Color blue trans.
b edges
objects: (packages flatCollect: #definedClasses);
connectToAll: #dependentClasses.
b
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Cheers,
Alexandre

On Apr 10, 2018, at 4:10 PM, Nicolas Anquetil <nicolas.anquetil@inria.fr> wrote:


This is one that I already had several times and could not find a proper answer:

How to have nodes grouped in containers (e.g. classes in packages) and links from one inner node (i.e. a class) to another one possibly from a different container (e.g. inheritance links from one package to another one) ?

nicolas

-- 
Nicolas Anquetil
RMod team -- Inria Lille

_______________________________________________
Moose-dev mailing list
Moose-dev@list.inf.unibe.ch
https://www.list.inf.unibe.ch/listinfo/moose-dev