How to put the node on top or bottom of the graph?
wuleibobo opened this issue · 2 comments
I want some of the node put on top/bottom/left/right of the graph.
I found the layerConstraint option can work for left/right position, and it works.
but I don't know how to put node on top and bottom of the graph.
I found InLayerConstraint option sames like work for this, but it is an InternalProperties, and I can't set it in the input data.
So how to put the node on top or bottom of the graph?
If you know which nodes end up in the same layer, you could try semi-interactive crossing minimization, see this example.
Apart from that I believe there's no public-facing configuration option to mark certain nodes to "always end up at the top/bottom of their layer".
If you have any follow-up questions, feel free to reopen this issue. 🙂