我在 Graphviz 中有一个简单的有向图,有两种节点和边。每种都有它自己的颜色。我的问题是,我想保留图形的绘制方式,而只是更改颜色。但是,当我在两个节点定义中交换节点名称时,图形会更改其布局。
node [shape = circle, width = 0.95, fixedsize = true, style = filled, fillcolor = palegreen] 3 "4-5" 7 "8-9" 10 18 19
node [shape = circle, width = 0.95, fixedsize = true, style = filled, fillcolor = grey] 11 12 "13-14"
有没有办法强制它使用一个静态布局?