Of course it is possible. Only if:color: is not implemented in LineShape.
Hello,We are working on the visualization of plugins in Mondrian and we are trying to create some custom visu. Question: Is there anyway we can color a few edges in Mondrian according to some condition? That is, we are trying to describe a condition for coloring edges according to the plugin they target as illustrated by the bold line in the script below:view shape rectangle
width: [:p | p outgoingFAMIXEclipsePluginImport size] ;
height: [:p | p incomingFAMIXEclipsePluginImport size] ;
if: [ p | p name includesSubString: 'uml'] fillColor: Color blue.
view nodes: (eclipsePluginGroup select: [:p | p name includesSubString: 'papyrus']).
view shape arrowedLine
if: [ :i | i target name = 'org.eclipse.papyrus.core'] fillColor: Color red.
view edges: (MooseModel root allModels first allWithType: FAMIXEclipsePluginImport) from: #source to: #target.
view dominanceTreeLayout .thanx in advance,Usman & Nicolas
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev