Hi Toon,
The way to do it is to tell the layout which edges to use. Just store
the return of view edges: into an instance variable and then pass it
to the layout via userDefinedEdges: :
| inheritances |
view nodes: classes.
inheritances := view edges: classes from: #superclass to: #yourself.
view edges: ...
view treeLayout userDefinedEdges: inheritances.
Cheers,
Doru
On Jul 14, 2007, at 9:01 PM, Toon Verwaest wrote:
Hi,
for one of the visualizations of clusters (DirectedHierarchical), it
would be nice to show classes in a class hierarchy, and annotate that
hierarchy with "accesses" between classes. However I don't seem to be
able to just show the hierarchy (treeLayout) and then add the
annotations (also edges), without the annotations being used to
calculate the tree... Is there a way to tell the ViewRenderer not to
use some "localEdges:" for the current layout?
thanks,
Toon
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.iam.unibe.ch/~girba
www.iam.unibe.ch/~girba/blog/
"What we can governs what we wish."