程序员绘图利器 ― Graphviz(二)

2014-11-24 10:38:41 · 作者: · 浏览: 1
ightgrey;
a0 -> a1 -> a2 -> a3;
label = "process #1";
}

subgraph cluster1 {
node [style = filled];
b0 -> b1 -> b2 -> b3;
label = "process #2";
color = blue;
}

start -> a0;
start -> b0;
a1 -> b3;
b2 -> a3;
a3 -> a0;
a3 -> end;
b3 -> end;
start [shape = Mdiamond];
end [shape = Msquare];
}



Reference
[1] http://zh.wikipedia.org/zh-cn/DOT语言,DOT语言简明介绍。
[2] http://zh.wikipedia.org/zh/Graphviz,简单背景知识。
[3] Graphviz中文指南。