GraphViz 中的弧形图布局

mep*_*ies 5 dot graphviz

如何在 GraphViz 中绘制弧形图?我不能强迫节点排成一行。

弧线图

Sis*_*hus 5

由于我没有足够的声誉来添加评论,因此我在这里发布一些建议。下面的代码解决了强制节点排成一行的问题。

digraph "test-graph" {
    graph [rankdir=LR]
    node[shape=circle, color=lightblue,label="",style=filled,width=0.3];
    edge[arrowhead=none,splines=line];
    1->2;
    2->3;
    edge[splines=curved];
    1->3[constraint=false];
}
Run Code Online (Sandbox Code Playgroud)

但没有半圆边缘的力量。您可以尝试其他工具,例如 Tikz。