Skip to content

How to disable overlapping? #17

Answered by s0l0ist
kadiemq asked this question in Q&A
Discussion options

You must be logged in to vote

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:

  1. Edge weights. 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…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by s0l0ist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants