Graphviz

  • 書式情報を入れてみる
graph sample {
N0 [color=red];
N1 [color=red];
N2 [color=red];
N3 [color=red];
N4 [color=red];
N5 [color=red];
N6 [color=red];
N7 [color=red];
N8 [color=red];
N9 [color=blue];
N10 [color=blue];
N11 [color=blue];
N12 [color=blue];
N13 [color=blue];
N14 [color=blue];
N15 [color=blue];
N9--N2 [label="4,"]
N3--N6 [label="1,"]
N13--N12 [label="1,"]
N7--N8 [label="2,"]
N1--N4 [label="4,"]
N11--N6 [label="3,"]
N14--N8 [label="3,"]
N9--N0 [label="2,"]
N13--N6 [label="2,"]
N13--N1 [label="3,"]
N12--N3 [label="2,"]
N14--N3 [label="4,"]
N12--N5 [label="4,"]
N10--N0 [label="0,"]
N14--N5 [label="2,"]
N9--N1 [label="0,"]
N4--N7 [label="1,"]
N2--N4 [label="0,"]
N5--N7 [label="3,"]
}
  • ただのメモ:グラフに対する処理としての「細分」「基本細分」