Method | Description | |
---|---|---|
GetMaximumYPosition ( ) : double |
If there are multiple root nodes on the map they must be placed so they don't overlap, this gives the map plus a margin to place the next map at.
|
|
PositionNodes ( |
Recursively goes through the node tree until it reaches the ends and places the Y coordinate for each node Each node is moved with relation to nodes above and to the right of it.
|
|
TreeRenderer ( double marginFromTop ) : System |
Method | Description | |
---|---|---|
OffsetNodes ( |
Moves the branch down to the correct levels if a collision was detected when working back down the tree towards the root node.
|
public PositionNodes ( |
||
nodeGroup | ||
depth | int | |
return | void |
public TreeRenderer ( double marginFromTop ) : System | ||
marginFromTop | double | |
return | System |