Я хочу создать блок-схему (похожую на Visio) с помощью Graphviz. Вот образец орграфа.
digraph start_up {
node [style = rounded];
node [shape = rect] start end;
node [style = ""];
node [shape = diamond] "USB\nCommand\nArrived";
start -> "Initialize\nCode";
"Initialize\nCode" -> "USB\nCommand\nArrived";
"USB\nCommand\nArrived" -> "USB\nCommand\nArrived" [label="No" tailport=w headport=n];
"USB\nCommand\nArrived" -> "Has USB 3.0\nInterface Been\nSelected" [label = "Yes"];
"Has USB 3.0\nInterface Been\nSelected" -> end
}
Проблема заключается в том, что я делаю это в Graphviz в строке, созданной "USB\nCommand\nArrived" -> "USB\nCommand\nArrived" [label="No" tailport=w headport=n];
выглядит довольно уродливо. Я бы не прочь кривые линии, но эта линия выглядит деформированной. Вы можете видеть, что здесь создает Graphviz.
Есть ли способ сделать это лучше?