aboutsummaryrefslogtreecommitdiffhomepage
path: root/snippets/dot_example
diff options
context:
space:
mode:
Diffstat (limited to 'snippets/dot_example')
-rw-r--r--snippets/dot_example27
1 files changed, 27 insertions, 0 deletions
diff --git a/snippets/dot_example b/snippets/dot_example
new file mode 100644
index 0000000..fa95abc
--- /dev/null
+++ b/snippets/dot_example
@@ -0,0 +1,27 @@
1digraph G {
2
3 subgraph cluster_0 {
4 style=filled;
5 color=lightgrey;
6 node [style=filled,color=white];
7 a0 -> a1 -> a2 -> a3;
8 label = "process #1";
9 }
10
11 subgraph cluster_1 {
12 node [style=filled];
13 b0 -> b1 -> b2 -> b3;
14 label = "process #2";
15 color=blue
16 }
17 start -> a0;
18 start -> b0;
19 a1 -> b3;
20 b2 -> a3;
21 a3 -> a0;
22 a3 -> end;
23 b3 -> end;
24
25 start [shape=Mdiamond];
26 end [shape=Msquare];
27}