Graphviz [outputorder=edgesfirst] 似乎不起作用

Graphviz [outputorder=edgesfirst] does not seem to work

我正在使用 graphviz 的 sfdp 可视化图表。但是边缘覆盖了节点,这很烦人。我将此属性 [outputorder=edgesfirst] 添加到图表中,但它似乎不起作用。

输出:

来源:

digraph G {
graph [overlap=false][outputorder=edgesfirst];
0;
1;
2;
3;

.....

330;
331;
0->18 [color=red];
0->325 [style=invis];
2->3 [dir=none];

.....

331->330 [color=red];
}

如果将节点的样式设置为填充并添加白色的填充色,节点将出现在边缘的顶部。

digraph G {
    graph [overlap=false outputorder=edgesfirst];
    node [style=filled fillcolor=white];
    0->18 [color=red];
    0->325 [style=invis];
    2->3 [dir=none];
    .....
    331->330 [color=red];