Skip to content

Commit 1c50743

Browse files
committed
[Other] Add graphviz files (resolves #34)
1 parent d63ea81 commit 1c50743

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

Screenshots/graphviz/build.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env bash
2+
3+
dot -Tpng diagram.dot -Gsize=6,4\! -Gdpi=100 -o ../diagram.png

Screenshots/graphviz/diagram.dot

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
digraph G
2+
{
3+
Init [label = "Initial", shape = none];
4+
Running [ peripheries = 2 ];
5+
6+
Init -> Running [ style="dashed" ];
7+
8+
subgraph {
9+
rank = same;
10+
Paused -> Running [ label = "Resume" ];
11+
Running -> Paused [ label = "Pause" ];
12+
}
13+
14+
Running -> Running [ taillabel = "Progress", labeldistance = 2, labelangle = 60 ];
15+
16+
Running -> Fulfilled [ label = "Fulfill" ];
17+
18+
Running -> Rejected [ label = "Reject\n(Cancel)" ];
19+
Paused -> Rejected [ label = "Reject\n(Cancel)" ];
20+
}

0 commit comments

Comments
 (0)