graphviz - fixed node positions

后端 未结 2 1493
囚心锁ツ
囚心锁ツ 2020-12-31 13:58

I have a graph that is processed by neato and I\'m adding new edges to it. However, I don\'t want that the old nodes to be moved. I want that neato computes the new position

相关标签:
2条回答
  • 2020-12-31 14:16

    You can pin a node's position by setting the node attribute pin=true.

    Or put a '!' at the end of the pos attribute: pos="34,12!"

    0 讨论(0)
  • 2020-12-31 14:27

    Running it with -n option should do the trick.

    0 讨论(0)
提交回复
热议问题