Windows 7 でGraphViz 2.28 (現在の安定版)を使用していますが、次のコードで Graphviz/Dot がクラッシュします。
digraph G {
ranksep = 1.0; size = "10,10";
{
node [shape = plaintext, fontsize = 20];
GAWM1 -> GAWM2 -> 0;
}
node [shape = box];
{rank = same;0;wx1;wx2;rx1;}
wx1 -> wx2;
wx2 -> rx1;
wx1 -> rx1[color = blue];
subgraph struct
{
node [shape = record];
rx11 [shape = record, label = "rx1 | [x=[wx2]]"];
}
{rank = same; GAWM1; "rx11";}
// W'WR Order:
wx2 -> wx1[style = dashed, color = red, label = "1"]; }
この例でいくつかの実験を行うと、事態は奇妙になります。
- 最後のステートメント「wx2 -> wx1[style = dashed, color = red, label = "1"];」のみの場合にうまく機能します。削除されます。
- 8行目「{rank = same;0;wx1;wx2;rx1;}」のみを削除するとうまくいきます。
- 最後のステートメントのラベル (つまり、", label = "1"")のみが削除された場合にもうまく機能します。
問題をGraphviz Issue Trackerに報告しましたが、まだ返信がありません。原因究明にご協力いただけないでしょうか。
ありがとうございました。