I am trying to arrange a directed node graph (has uni directional edges - only have arrow on one end) which is non cyclic so that nodes tend to appear on the left of any nodes that point to them. In other words the arrows (edges) would all tend to point roughly to the left. It might end up looking like a hierarchical graph in some scenarios but without the fixed row constraint. Can this be achieved by mere configuration? I've tried a lot of options but I can't seem to achieve what I need but maybe I'm just not providing the right config.
Asked
Active
Viewed 1,948 times
1 Answers
0
I am trying to achieve the same, here is what I found so far:
- Use fixed x position and handle everything yourself (manual)
Or:
- You can try popping nodes on a different x (with some extra randomness)
- Try playing around with the physics settings, reduce central gravity
Let me know if you find out more.

Community
- 1
- 1

Christophe Roussy
- 16,299
- 4
- 85
- 85