-
Node
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This is a bit complicated to explain, but in short this is an artifact of the layout algorithm that is used. The ranker determines the depth which looks like it has done correctly in this hierarchical graph. However, the position (left/right) of a node on the same rank is determined by several heuristics optimized for speed that cannot guarantee optimal placement. Strictly speaking, you cannot directly control the rank (depth) or position (left/right) of the nodes; however, you may influence the auto layout in the following ways:
Ultimately, if your graph is hierarchical in nature (and processing this data can be predictable), then you should focus on changing the order of adding nodes/edges to the graph. |
Beta Was this translation helpful? Give feedback.
This is a bit complicated to explain, but in short this is an artifact of the layout algorithm that is used. The ranker determines the depth which looks like it has done correctly in this hierarchical graph. However, the position (left/right) of a node on the same rank is determined by several heuristics optimized for speed that cannot guarantee optimal placement.
Strictly speaking, you cannot directly control the rank (depth) or position (left/right) of the nodes; however, you may influence the auto layout in the following ways:
weight
s. The higher the weight, the more bias is introduced to keep edges straight, but its is only a heuristic and isn't guaranteed to make an edge straig…