Comment #6 on issue 888 by tu...(a)tudorgirba.com: MondrianViewBuilder should
support a better zOrder
http://code.google.com/p/moose-technology/issues/detail?id=888
I do not quite understand.
I tried the example:
view raw zOrdering: (ROZOrdering new
at: [:edge | ((edge source depth * 2) max: (edge target depth * 2)) - 1 ]
put: #isEdge;
at: [ :element | element depth * 2 ] put: #isNotEdge).
view node: 1 forIt: [view node: 11].
view node: 2 forIt: [view node: 22].
view node: 3 forIt: [view node: 33].
view edgeFromAssociation: 11->33.
We have the following zIndex:
- nodes 1,2,3: zIndex 2
- nodes 11,22,33: zIndex 4
- edge: zIndex 3
However, the edge still gets drawn on top of node 22. It should be drawn
below it.