graphviz_test.dot
来自「boost库提供标准的C++ API 配合dev c++使用,功能更加强大」· DOT 代码 · 共 40 行
DOT
40 行
digraph G {
subgraph cluster0 { //subgraph<Graph>
node [style=filled color=white];
style = filled;
bgcolor = lightgrey;
subgraph inner { //subgraph<Graph> or subgraph of subgraph
node [color = green];
a1 -> a2 -> a3
};
a0 -> subgraph inner;
label = "process #1";
}
subgraph cluster1 {
node [style=filled color=white];
b0 -> b1 -> b2 -> b3;
label = "process #2";
bgcolor = lightgrey
}
subgraph cluster1 -> subgraph cluster0 [style=dashed color=red]
start -> subgraph inner[style=dotted];
start -> a0;
start -> b0;
a1 -> b3;
b2 -> a3;
a3 -> end;
b3 -> end;
start [shape=Mdiamond];
end [shape=Msquare];
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?