上图是使用Graphviz画图的一个示例,它是由以下dot脚本生成的。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
digraph G{ A [style=filled, fillcolor=greenyellow]; B [style=filled, fillcolor=greenyellow]; C; D; E; A->B[label=1][style=bold, color=dodgerblue]; A->C[label=2]; A->D[label=1]; A->E[label=1]; C->A[label=1]; D->C[label=1]; } |