Sure.
Something like:
view node: 'left red node' forIt: [ view nodes: "your red nodes" ... view dominanceTreeLayout ]. view node: 'right blue node' forIt: [ view nodes: "your blue nodes" ... view dominanceTreeLayout ].
Does this answer to your question?
Cheers, Alexandre
On 9 Nov 2011, at 07:22, Usman Bhatti wrote:
I am working on this script to see dependencies of seaside and citezen...
I would to group the nodes according to their names in Mondrian. Is it possible? Here is my script: view shape rectangle width: [:pack | pack numberOfProviderPackages + 3 *3]; height: [:pack | pack numberOfClientPackages + 6 * 3]; if: [:pack | pack name includesSubString: 'Citezen'] fillColor: Color red; if: [:pack | (pack name includesSubString: 'Seaside') and: [(pack name includesSubString: 'Citezen' ) not]] fillColor: Color lightBlue. view nodes: (model allPackages select: [:pack | ((pack name includesSubString: 'Citezen') or: [pack name includesSubString: 'Seaside']) or: [pack name includesSubString: 'Pier']]). view edgesToAll: #staticProviderPackages. view dominanceTreeLayout..
Like in the figure, I would like to group red nodes on the left and light blue nodes on the right and at the same time keeping dominanceTreeLayout.
<Screen shot 2011-11-09 at 4.08.18 PM.png>
thanx. Usman _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev