Hi guys
I would like to have an edge drawn from a package to the classes that use it.
I did but it does not work
view interaction
whenEnteringUpdateNode: [:node |
view edgesToAll: #sureReferencingClasses.].
in
view shape rectangle.
view interaction menuMorphBlock: [ :element | element mooseMenuMorph ].
view nodes: model allPackages
forEach: [:pack |
view shape rectangle
fillColor: Color orange;
height: 7;
width: 7.
view interaction menuMorphBlock: [ :element | element mooseMenuMorph ].
view interaction
whenEnteringUpdateNode: [:node |
view edgesToAll: #sureReferencingClasses.].
view nodes: pack classes.
view gridLayout gapSize: 2.
].
view gridLayout.