Dear Users, hello Stoyo (are you out there?)
below you can find two pictures of a tree I wish to generate, the pictures are showing different situations in the same tree.
The nodes should be positioned in a column/row manner. Important for this layout is the position of the nodes: all items must be positioned in virtual layers (horizontal and vertical).
In my application I use own nodes derived from ContainerNode. Currently I use a combination of LayeredLayout and OrthogonalRouter with some options set.
The first layer is sorted manually using LayoutTraits[LayeredLayoutTraits.Layer] == 0
The problem with the combination is, that the resulting graph is not that strictly displayed like in the pictures below.
The idea behind is something like that in Picture 1:
* AV 100 is at position 0,0 (x,y)
* AV 200 is at position 1,0 (x,y)
* ...
* AV 330 is at position 2,3 (x,y)
With such a logic it is easy to generate something like Picture 2:
* AV 100 is at position 0,0 (x,y)
* (1,0 is empty: tree logic cares about positioning)
* AV 111 is at position 1,1 (x,y)
* (2,0 is empty: tree logic cares about positioning)
* (2,1 is empty: tree logic cares about positioning)
* (2,2 is empty: tree logic cares about positioning)
* AV 114 is at position 2,3 (x,y)
With the parameters Nodedistance and behaviour control settings for the arrows it woluld be very easy to get a graphically strict positioned diagram.
I think something like this is already done with lane diagrams.
Can you give be advices or hints or do you have ideas how to construct such a tree?