graphviz-code-viewer 0.1.4__tar.gz → 0.1.6__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. {graphviz_code_viewer-0.1.4 → graphviz_code_viewer-0.1.6}/PKG-INFO +1 -2
  2. {graphviz_code_viewer-0.1.4 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/about.py +1 -1
  3. graphviz_code_viewer-0.1.6/graphviz_code_viewer/data/LoginStateMachine.dot +15 -0
  4. graphviz_code_viewer-0.1.6/graphviz_code_viewer/data/LoginStateMachine.svg +84 -0
  5. graphviz_code_viewer-0.1.6/graphviz_code_viewer/data/ParallelGroupsLR.dot +36 -0
  6. graphviz_code_viewer-0.1.6/graphviz_code_viewer/data/ParallelGroupsLR.svg +168 -0
  7. graphviz_code_viewer-0.1.6/graphviz_code_viewer/data/ParallelGroupsTB.dot +36 -0
  8. graphviz_code_viewer-0.1.6/graphviz_code_viewer/data/ParallelGroupsTB.svg +168 -0
  9. graphviz_code_viewer-0.1.6/graphviz_code_viewer/data/TrafficLightStateMachine.dot +11 -0
  10. graphviz_code_viewer-0.1.6/graphviz_code_viewer/data/TrafficLightStateMachine.svg +64 -0
  11. graphviz_code_viewer-0.1.6/graphviz_code_viewer/icons/logo.svg +151 -0
  12. graphviz_code_viewer-0.1.6/graphviz_code_viewer/modules/example_selector.py +257 -0
  13. {graphviz_code_viewer-0.1.4 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/program.py +81 -4
  14. {graphviz_code_viewer-0.1.4 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer.egg-info/PKG-INFO +1 -2
  15. {graphviz_code_viewer-0.1.4 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer.egg-info/SOURCES.txt +10 -0
  16. graphviz_code_viewer-0.1.6/graphviz_code_viewer.egg-info/requires.txt +1 -0
  17. {graphviz_code_viewer-0.1.4 → graphviz_code_viewer-0.1.6}/pyproject.toml +3 -4
  18. graphviz_code_viewer-0.1.4/graphviz_code_viewer.egg-info/requires.txt +0 -2
  19. {graphviz_code_viewer-0.1.4 → graphviz_code_viewer-0.1.6}/LICENSE +0 -0
  20. {graphviz_code_viewer-0.1.4 → graphviz_code_viewer-0.1.6}/README.md +0 -0
  21. {graphviz_code_viewer-0.1.4 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/__init__.py +0 -0
  22. {graphviz_code_viewer-0.1.4 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/desktop.py +0 -0
  23. {graphviz_code_viewer-0.1.4 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/icons/document-open.png +0 -0
  24. {graphviz_code_viewer-0.1.4 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/icons/download-green.png +0 -0
  25. {graphviz_code_viewer-0.1.4 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/icons/download.png +0 -0
  26. {graphviz_code_viewer-0.1.4 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/icons/emote-love.png +0 -0
  27. {graphviz_code_viewer-0.1.4 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/icons/image.png +0 -0
  28. {graphviz_code_viewer-0.1.4 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/icons/logo.png +0 -0
  29. {graphviz_code_viewer-0.1.4 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/icons/status_help.png +0 -0
  30. {graphviz_code_viewer-0.1.4 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/icons/system-run.png +0 -0
  31. {graphviz_code_viewer-0.1.4 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/icons/text-configure.png +0 -0
  32. {graphviz_code_viewer-0.1.4 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/modules/__init__.py +0 -0
  33. {graphviz_code_viewer-0.1.4 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/modules/configure.py +0 -0
  34. {graphviz_code_viewer-0.1.4 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/modules/resources.py +0 -0
  35. {graphviz_code_viewer-0.1.4 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/modules/wabout.py +0 -0
  36. {graphviz_code_viewer-0.1.4 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer.egg-info/dependency_links.txt +0 -0
  37. {graphviz_code_viewer-0.1.4 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer.egg-info/entry_points.txt +0 -0
  38. {graphviz_code_viewer-0.1.4 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer.egg-info/top_level.txt +0 -0
  39. {graphviz_code_viewer-0.1.4 → graphviz_code_viewer-0.1.6}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: graphviz_code_viewer
3
- Version: 0.1.4
3
+ Version: 0.1.6
4
4
  Summary: Program to edit and view Graphviz code.
5
5
  Author-email: Fernando Pujaico Rivera <fernando.pujaico.rivera@gmail.com>
6
6
  Maintainer-email: Fernando Pujaico Rivera <fernando.pujaico.rivera@gmail.com>
@@ -16,7 +16,6 @@ Requires-Python: >=3.8
16
16
  Description-Content-Type: text/markdown
17
17
  License-File: LICENSE
18
18
  Requires-Dist: PyQt5
19
- Requires-Dist: deep-consultation
20
19
  Dynamic: license-file
21
20
 
22
21
  # graphviz-code-viewer
@@ -1,6 +1,6 @@
1
1
  # about.py
2
2
 
3
- __version__ = "0.1.4"
3
+ __version__ = "0.1.6"
4
4
  __package__ = "graphviz_code_viewer"
5
5
  __program_name__ = "graphviz-code-viewer"
6
6
  __author__ = "Fernando Pujaico Rivera"
@@ -0,0 +1,15 @@
1
+ digraph LoginStateMachine {
2
+ rankdir=LR;
3
+
4
+ node [shape=circle];
5
+
6
+ LoggedOut -> LoggingIn [label="click login"];
7
+ LoggingIn -> Authenticated [label="success"];
8
+ LoggingIn -> Error [label="failure"];
9
+
10
+ Error -> LoggingIn [label="retry"];
11
+ Authenticated -> LoggedOut [label="logout"];
12
+
13
+ start [shape=square];
14
+ start -> LoggedOut;
15
+ }
@@ -0,0 +1,84 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
3
+ "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <!-- Generated by graphviz version 2.43.0 (0)
5
+ -->
6
+ <!-- Title: LoginStateMachine Pages: 1 -->
7
+ <svg width="687pt" height="250pt"
8
+ viewBox="0.00 0.00 687.27 250.44" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
9
+ <g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 246.44)">
10
+ <title>LoginStateMachine</title>
11
+ <polygon fill="white" stroke="transparent" points="-4,4 -4,-246.44 683.27,-246.44 683.27,4 -4,4"/>
12
+ <!-- LoggedOut -->
13
+ <g id="node1" class="node">
14
+ <title>LoggedOut</title>
15
+ <ellipse fill="none" stroke="black" cx="149.74" cy="-92.04" rx="61.99" ry="61.99"/>
16
+ <text text-anchor="middle" x="149.74" y="-88.34" font-family="Times,serif" font-size="14.00">LoggedOut</text>
17
+ </g>
18
+ <!-- LoggingIn -->
19
+ <g id="node2" class="node">
20
+ <title>LoggingIn</title>
21
+ <ellipse fill="none" stroke="black" cx="378.33" cy="-167.04" rx="57.69" ry="57.69"/>
22
+ <text text-anchor="middle" x="378.33" y="-163.34" font-family="Times,serif" font-size="14.00">LoggingIn</text>
23
+ </g>
24
+ <!-- LoggedOut&#45;&gt;LoggingIn -->
25
+ <g id="edge1" class="edge">
26
+ <title>LoggedOut&#45;&gt;LoggingIn</title>
27
+ <path fill="none" stroke="black" d="M208.51,-111.16C240.61,-121.79 280.62,-135.03 313.62,-145.96"/>
28
+ <polygon fill="black" stroke="black" points="312.59,-149.3 323.18,-149.12 314.79,-142.65 312.59,-149.3"/>
29
+ <text text-anchor="middle" x="265.99" y="-144.84" font-family="Times,serif" font-size="14.00">click login</text>
30
+ </g>
31
+ <!-- Authenticated -->
32
+ <g id="node3" class="node">
33
+ <title>Authenticated</title>
34
+ <ellipse fill="none" stroke="black" cx="603.22" cy="-76.04" rx="76.09" ry="76.09"/>
35
+ <text text-anchor="middle" x="603.22" y="-72.34" font-family="Times,serif" font-size="14.00">Authenticated</text>
36
+ </g>
37
+ <!-- LoggingIn&#45;&gt;Authenticated -->
38
+ <g id="edge2" class="edge">
39
+ <title>LoggingIn&#45;&gt;Authenticated</title>
40
+ <path fill="none" stroke="black" d="M432.16,-145.48C459.22,-134.43 492.74,-120.74 522.84,-108.45"/>
41
+ <polygon fill="black" stroke="black" points="524.54,-111.54 532.48,-104.52 521.9,-105.06 524.54,-111.54"/>
42
+ <text text-anchor="middle" x="481.68" y="-138.84" font-family="Times,serif" font-size="14.00">success</text>
43
+ </g>
44
+ <!-- Error -->
45
+ <g id="node4" class="node">
46
+ <title>Error</title>
47
+ <ellipse fill="none" stroke="black" cx="603.22" cy="-206.04" rx="36.29" ry="36.29"/>
48
+ <text text-anchor="middle" x="603.22" y="-202.34" font-family="Times,serif" font-size="14.00">Error</text>
49
+ </g>
50
+ <!-- LoggingIn&#45;&gt;Error -->
51
+ <g id="edge3" class="edge">
52
+ <title>LoggingIn&#45;&gt;Error</title>
53
+ <path fill="none" stroke="black" d="M436.05,-162.85C458.96,-162.35 485.53,-163.31 509.18,-168.04 526.75,-171.56 545.19,-178.37 560.98,-185.27"/>
54
+ <polygon fill="black" stroke="black" points="559.89,-188.61 570.44,-189.54 562.77,-182.23 559.89,-188.61"/>
55
+ <text text-anchor="middle" x="481.68" y="-171.84" font-family="Times,serif" font-size="14.00">failure</text>
56
+ </g>
57
+ <!-- Authenticated&#45;&gt;LoggedOut -->
58
+ <g id="edge5" class="edge">
59
+ <title>Authenticated&#45;&gt;LoggedOut</title>
60
+ <path fill="none" stroke="black" d="M527.18,-78.25C470.41,-79.97 390.54,-82.48 320.49,-85.04 288.05,-86.23 252.13,-87.69 221.72,-88.97"/>
61
+ <polygon fill="black" stroke="black" points="221.47,-85.48 211.63,-89.4 221.77,-92.47 221.47,-85.48"/>
62
+ <text text-anchor="middle" x="378.33" y="-88.84" font-family="Times,serif" font-size="14.00">logout</text>
63
+ </g>
64
+ <!-- Error&#45;&gt;LoggingIn -->
65
+ <g id="edge4" class="edge">
66
+ <title>Error&#45;&gt;LoggingIn</title>
67
+ <path fill="none" stroke="black" d="M567.13,-201.16C537.07,-196.84 492.68,-190.14 454.18,-183.04 451.2,-182.49 448.17,-181.92 445.1,-181.32"/>
68
+ <polygon fill="black" stroke="black" points="445.75,-177.88 435.26,-179.36 444.38,-184.75 445.75,-177.88"/>
69
+ <text text-anchor="middle" x="481.68" y="-196.84" font-family="Times,serif" font-size="14.00">retry</text>
70
+ </g>
71
+ <!-- start -->
72
+ <g id="node5" class="node">
73
+ <title>start</title>
74
+ <polygon fill="none" stroke="black" points="51,-117.54 0,-117.54 0,-66.54 51,-66.54 51,-117.54"/>
75
+ <text text-anchor="middle" x="25.5" y="-88.34" font-family="Times,serif" font-size="14.00">start</text>
76
+ </g>
77
+ <!-- start&#45;&gt;LoggedOut -->
78
+ <g id="edge6" class="edge">
79
+ <title>start&#45;&gt;LoggedOut</title>
80
+ <path fill="none" stroke="black" d="M51.24,-92.04C59.16,-92.04 68.36,-92.04 77.89,-92.04"/>
81
+ <polygon fill="black" stroke="black" points="77.9,-95.54 87.9,-92.04 77.9,-88.54 77.9,-95.54"/>
82
+ </g>
83
+ </g>
84
+ </svg>
@@ -0,0 +1,36 @@
1
+ digraph ParallelGroupsLR {
2
+ rankdir=LR;
3
+ compound=true;
4
+
5
+ node [shape=box];
6
+
7
+ Start -> Split;
8
+
9
+ Split -> LeftGroup_Start;
10
+ Split -> RightGroup_Start;
11
+
12
+ subgraph cluster_left {
13
+ label="Left Group";
14
+ style=rounded;
15
+
16
+ LeftGroup_Start -> LeftTask1;
17
+ LeftTask1 -> LeftTask2;
18
+ LeftTask2 -> LeftDone;
19
+ }
20
+
21
+ subgraph cluster_right {
22
+ label="Right Group";
23
+ style=rounded;
24
+
25
+ RightGroup_Start -> RightTask1;
26
+ RightTask1 -> RightTask2;
27
+ RightTask2 -> RightDone;
28
+ }
29
+
30
+ LeftDone -> Merge;
31
+ RightDone -> Merge;
32
+
33
+ Merge -> End;
34
+
35
+ End [shape=doublecircle];
36
+ }
@@ -0,0 +1,168 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
3
+ "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <!-- Generated by graphviz version 2.43.0 (0)
5
+ -->
6
+ <!-- Title: ParallelGroupsLR Pages: 1 -->
7
+ <svg width="926pt" height="182pt"
8
+ viewBox="0.00 0.00 926.49 182.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
9
+ <g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 178)">
10
+ <title>ParallelGroupsLR</title>
11
+ <polygon fill="white" stroke="transparent" points="-4,4 -4,-178 922.49,-178 922.49,4 -4,4"/>
12
+ <g id="clust1" class="cluster">
13
+ <title>cluster_left</title>
14
+ <path fill="none" stroke="black" d="M189,-91C189,-91 708,-91 708,-91 714,-91 720,-97 720,-103 720,-103 720,-154 720,-154 720,-160 714,-166 708,-166 708,-166 189,-166 189,-166 183,-166 177,-160 177,-154 177,-154 177,-103 177,-103 177,-97 183,-91 189,-91"/>
15
+ <text text-anchor="middle" x="448.5" y="-150.8" font-family="Times,serif" font-size="14.00">Left Group</text>
16
+ </g>
17
+ <g id="clust2" class="cluster">
18
+ <title>cluster_right</title>
19
+ <path fill="none" stroke="black" d="M184,-8C184,-8 713,-8 713,-8 719,-8 725,-14 725,-20 725,-20 725,-71 725,-71 725,-77 719,-83 713,-83 713,-83 184,-83 184,-83 178,-83 172,-77 172,-71 172,-71 172,-20 172,-20 172,-14 178,-8 184,-8"/>
20
+ <text text-anchor="middle" x="448.5" y="-67.8" font-family="Times,serif" font-size="14.00">Right Group</text>
21
+ </g>
22
+ <!-- Start -->
23
+ <g id="node1" class="node">
24
+ <title>Start</title>
25
+ <polygon fill="none" stroke="black" points="54,-93 0,-93 0,-57 54,-57 54,-93"/>
26
+ <text text-anchor="middle" x="27" y="-71.3" font-family="Times,serif" font-size="14.00">Start</text>
27
+ </g>
28
+ <!-- Split -->
29
+ <g id="node2" class="node">
30
+ <title>Split</title>
31
+ <polygon fill="none" stroke="black" points="144,-93 90,-93 90,-57 144,-57 144,-93"/>
32
+ <text text-anchor="middle" x="117" y="-71.3" font-family="Times,serif" font-size="14.00">Split</text>
33
+ </g>
34
+ <!-- Start&#45;&gt;Split -->
35
+ <g id="edge1" class="edge">
36
+ <title>Start&#45;&gt;Split</title>
37
+ <path fill="none" stroke="black" d="M54.4,-75C62.39,-75 71.31,-75 79.82,-75"/>
38
+ <polygon fill="black" stroke="black" points="79.92,-78.5 89.92,-75 79.92,-71.5 79.92,-78.5"/>
39
+ </g>
40
+ <!-- LeftGroup_Start -->
41
+ <g id="node3" class="node">
42
+ <title>LeftGroup_Start</title>
43
+ <polygon fill="none" stroke="black" points="318,-135 185,-135 185,-99 318,-99 318,-135"/>
44
+ <text text-anchor="middle" x="251.5" y="-113.3" font-family="Times,serif" font-size="14.00">LeftGroup_Start</text>
45
+ </g>
46
+ <!-- Split&#45;&gt;LeftGroup_Start -->
47
+ <g id="edge2" class="edge">
48
+ <title>Split&#45;&gt;LeftGroup_Start</title>
49
+ <path fill="none" stroke="black" d="M144.18,-83.3C155.7,-86.95 169.81,-91.42 183.94,-95.9"/>
50
+ <polygon fill="black" stroke="black" points="183.1,-99.31 193.69,-98.99 185.21,-92.63 183.1,-99.31"/>
51
+ </g>
52
+ <!-- RightGroup_Start -->
53
+ <g id="node4" class="node">
54
+ <title>RightGroup_Start</title>
55
+ <polygon fill="none" stroke="black" points="323,-52 180,-52 180,-16 323,-16 323,-52"/>
56
+ <text text-anchor="middle" x="251.5" y="-30.3" font-family="Times,serif" font-size="14.00">RightGroup_Start</text>
57
+ </g>
58
+ <!-- Split&#45;&gt;RightGroup_Start -->
59
+ <g id="edge3" class="edge">
60
+ <title>Split&#45;&gt;RightGroup_Start</title>
61
+ <path fill="none" stroke="black" d="M144.18,-66.9C155.28,-63.46 168.8,-59.28 182.41,-55.07"/>
62
+ <polygon fill="black" stroke="black" points="183.79,-58.3 192.31,-52.01 181.73,-51.62 183.79,-58.3"/>
63
+ </g>
64
+ <!-- LeftTask1 -->
65
+ <g id="node5" class="node">
66
+ <title>LeftTask1</title>
67
+ <polygon fill="none" stroke="black" points="450.5,-135 364.5,-135 364.5,-99 450.5,-99 450.5,-135"/>
68
+ <text text-anchor="middle" x="407.5" y="-113.3" font-family="Times,serif" font-size="14.00">LeftTask1</text>
69
+ </g>
70
+ <!-- LeftGroup_Start&#45;&gt;LeftTask1 -->
71
+ <g id="edge4" class="edge">
72
+ <title>LeftGroup_Start&#45;&gt;LeftTask1</title>
73
+ <path fill="none" stroke="black" d="M318.26,-117C330.15,-117 342.41,-117 353.86,-117"/>
74
+ <polygon fill="black" stroke="black" points="354.12,-120.5 364.12,-117 354.12,-113.5 354.12,-120.5"/>
75
+ </g>
76
+ <!-- RightTask1 -->
77
+ <g id="node8" class="node">
78
+ <title>RightTask1</title>
79
+ <polygon fill="none" stroke="black" points="456,-52 359,-52 359,-16 456,-16 456,-52"/>
80
+ <text text-anchor="middle" x="407.5" y="-30.3" font-family="Times,serif" font-size="14.00">RightTask1</text>
81
+ </g>
82
+ <!-- RightGroup_Start&#45;&gt;RightTask1 -->
83
+ <g id="edge7" class="edge">
84
+ <title>RightGroup_Start&#45;&gt;RightTask1</title>
85
+ <path fill="none" stroke="black" d="M323.19,-34C331.64,-34 340.19,-34 348.44,-34"/>
86
+ <polygon fill="black" stroke="black" points="348.68,-37.5 358.68,-34 348.68,-30.5 348.68,-37.5"/>
87
+ </g>
88
+ <!-- LeftTask2 -->
89
+ <g id="node6" class="node">
90
+ <title>LeftTask2</title>
91
+ <polygon fill="none" stroke="black" points="583.5,-135 497.5,-135 497.5,-99 583.5,-99 583.5,-135"/>
92
+ <text text-anchor="middle" x="540.5" y="-113.3" font-family="Times,serif" font-size="14.00">LeftTask2</text>
93
+ </g>
94
+ <!-- LeftTask1&#45;&gt;LeftTask2 -->
95
+ <g id="edge5" class="edge">
96
+ <title>LeftTask1&#45;&gt;LeftTask2</title>
97
+ <path fill="none" stroke="black" d="M450.67,-117C462.36,-117 475.18,-117 487.37,-117"/>
98
+ <polygon fill="black" stroke="black" points="487.41,-120.5 497.41,-117 487.41,-113.5 487.41,-120.5"/>
99
+ </g>
100
+ <!-- LeftDone -->
101
+ <g id="node7" class="node">
102
+ <title>LeftDone</title>
103
+ <polygon fill="none" stroke="black" points="712,-135 630,-135 630,-99 712,-99 712,-135"/>
104
+ <text text-anchor="middle" x="671" y="-113.3" font-family="Times,serif" font-size="14.00">LeftDone</text>
105
+ </g>
106
+ <!-- LeftTask2&#45;&gt;LeftDone -->
107
+ <g id="edge6" class="edge">
108
+ <title>LeftTask2&#45;&gt;LeftDone</title>
109
+ <path fill="none" stroke="black" d="M583.58,-117C595.01,-117 607.52,-117 619.37,-117"/>
110
+ <polygon fill="black" stroke="black" points="619.58,-120.5 629.58,-117 619.58,-113.5 619.58,-120.5"/>
111
+ </g>
112
+ <!-- Merge -->
113
+ <g id="node11" class="node">
114
+ <title>Merge</title>
115
+ <polygon fill="none" stroke="black" points="816,-93 753,-93 753,-57 816,-57 816,-93"/>
116
+ <text text-anchor="middle" x="784.5" y="-71.3" font-family="Times,serif" font-size="14.00">Merge</text>
117
+ </g>
118
+ <!-- LeftDone&#45;&gt;Merge -->
119
+ <g id="edge10" class="edge">
120
+ <title>LeftDone&#45;&gt;Merge</title>
121
+ <path fill="none" stroke="black" d="M712.25,-101.84C722.37,-98.03 733.23,-93.94 743.34,-90.13"/>
122
+ <polygon fill="black" stroke="black" points="744.63,-93.38 752.76,-86.58 742.16,-86.83 744.63,-93.38"/>
123
+ </g>
124
+ <!-- RightTask2 -->
125
+ <g id="node9" class="node">
126
+ <title>RightTask2</title>
127
+ <polygon fill="none" stroke="black" points="589,-52 492,-52 492,-16 589,-16 589,-52"/>
128
+ <text text-anchor="middle" x="540.5" y="-30.3" font-family="Times,serif" font-size="14.00">RightTask2</text>
129
+ </g>
130
+ <!-- RightTask1&#45;&gt;RightTask2 -->
131
+ <g id="edge8" class="edge">
132
+ <title>RightTask1&#45;&gt;RightTask2</title>
133
+ <path fill="none" stroke="black" d="M456.16,-34C464.38,-34 473.01,-34 481.46,-34"/>
134
+ <polygon fill="black" stroke="black" points="481.65,-37.5 491.65,-34 481.65,-30.5 481.65,-37.5"/>
135
+ </g>
136
+ <!-- RightDone -->
137
+ <g id="node10" class="node">
138
+ <title>RightDone</title>
139
+ <polygon fill="none" stroke="black" points="717,-52 625,-52 625,-16 717,-16 717,-52"/>
140
+ <text text-anchor="middle" x="671" y="-30.3" font-family="Times,serif" font-size="14.00">RightDone</text>
141
+ </g>
142
+ <!-- RightTask2&#45;&gt;RightDone -->
143
+ <g id="edge9" class="edge">
144
+ <title>RightTask2&#45;&gt;RightDone</title>
145
+ <path fill="none" stroke="black" d="M589.35,-34C597.57,-34 606.17,-34 614.57,-34"/>
146
+ <polygon fill="black" stroke="black" points="614.67,-37.5 624.67,-34 614.67,-30.5 614.67,-37.5"/>
147
+ </g>
148
+ <!-- RightDone&#45;&gt;Merge -->
149
+ <g id="edge11" class="edge">
150
+ <title>RightDone&#45;&gt;Merge</title>
151
+ <path fill="none" stroke="black" d="M717.03,-50.56C725.81,-53.79 734.96,-57.15 743.57,-60.32"/>
152
+ <polygon fill="black" stroke="black" points="742.41,-63.62 753,-63.78 744.82,-57.05 742.41,-63.62"/>
153
+ </g>
154
+ <!-- End -->
155
+ <g id="node12" class="node">
156
+ <title>End</title>
157
+ <ellipse fill="none" stroke="black" cx="885.25" cy="-75" rx="29.47" ry="29.47"/>
158
+ <ellipse fill="none" stroke="black" cx="885.25" cy="-75" rx="33.5" ry="33.5"/>
159
+ <text text-anchor="middle" x="885.25" y="-71.3" font-family="Times,serif" font-size="14.00">End</text>
160
+ </g>
161
+ <!-- Merge&#45;&gt;End -->
162
+ <g id="edge12" class="edge">
163
+ <title>Merge&#45;&gt;End</title>
164
+ <path fill="none" stroke="black" d="M816.2,-75C824.25,-75 833.08,-75 841.63,-75"/>
165
+ <polygon fill="black" stroke="black" points="841.85,-78.5 851.85,-75 841.85,-71.5 841.85,-78.5"/>
166
+ </g>
167
+ </g>
168
+ </svg>
@@ -0,0 +1,36 @@
1
+ digraph ParallelGroupsTB {
2
+ rankdir=TB;
3
+ compound=true;
4
+
5
+ node [shape=box];
6
+
7
+ Start -> Split;
8
+
9
+ Split -> LeftGroup_Start;
10
+ Split -> RightGroup_Start;
11
+
12
+ subgraph cluster_left {
13
+ label="Left Group";
14
+ style=rounded;
15
+
16
+ LeftGroup_Start -> LeftTask1;
17
+ LeftTask1 -> LeftTask2;
18
+ LeftTask2 -> LeftDone;
19
+ }
20
+
21
+ subgraph cluster_right {
22
+ label="Right Group";
23
+ style=rounded;
24
+
25
+ RightGroup_Start -> RightTask1;
26
+ RightTask1 -> RightTask2;
27
+ RightTask2 -> RightDone;
28
+ }
29
+
30
+ LeftDone -> Merge;
31
+ RightDone -> Merge;
32
+
33
+ Merge -> End;
34
+
35
+ End [shape=doublecircle];
36
+ }
@@ -0,0 +1,168 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
3
+ "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <!-- Generated by graphviz version 2.43.0 (0)
5
+ -->
6
+ <!-- Title: ParallelGroupsTB Pages: 1 -->
7
+ <svg width="342pt" height="581pt"
8
+ viewBox="0.00 0.00 342.00 581.49" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
9
+ <g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 577.49)">
10
+ <title>ParallelGroupsTB</title>
11
+ <polygon fill="white" stroke="transparent" points="-4,4 -4,-577.49 338,-577.49 338,4 -4,4"/>
12
+ <g id="clust1" class="cluster">
13
+ <title>cluster_left</title>
14
+ <path fill="none" stroke="black" d="M20,-166.49C20,-166.49 146,-166.49 146,-166.49 152,-166.49 158,-172.49 158,-178.49 158,-178.49 158,-445.49 158,-445.49 158,-451.49 152,-457.49 146,-457.49 146,-457.49 20,-457.49 20,-457.49 14,-457.49 8,-451.49 8,-445.49 8,-445.49 8,-178.49 8,-178.49 8,-172.49 14,-166.49 20,-166.49"/>
15
+ <text text-anchor="middle" x="83" y="-442.29" font-family="Times,serif" font-size="14.00">Left Group</text>
16
+ </g>
17
+ <g id="clust2" class="cluster">
18
+ <title>cluster_right</title>
19
+ <path fill="none" stroke="black" d="M178,-166.49C178,-166.49 314,-166.49 314,-166.49 320,-166.49 326,-172.49 326,-178.49 326,-178.49 326,-445.49 326,-445.49 326,-451.49 320,-457.49 314,-457.49 314,-457.49 178,-457.49 178,-457.49 172,-457.49 166,-451.49 166,-445.49 166,-445.49 166,-178.49 166,-178.49 166,-172.49 172,-166.49 178,-166.49"/>
20
+ <text text-anchor="middle" x="246" y="-442.29" font-family="Times,serif" font-size="14.00">Right Group</text>
21
+ </g>
22
+ <!-- Start -->
23
+ <g id="node1" class="node">
24
+ <title>Start</title>
25
+ <polygon fill="none" stroke="black" points="191,-573.49 137,-573.49 137,-537.49 191,-537.49 191,-573.49"/>
26
+ <text text-anchor="middle" x="164" y="-551.79" font-family="Times,serif" font-size="14.00">Start</text>
27
+ </g>
28
+ <!-- Split -->
29
+ <g id="node2" class="node">
30
+ <title>Split</title>
31
+ <polygon fill="none" stroke="black" points="191,-501.49 137,-501.49 137,-465.49 191,-465.49 191,-501.49"/>
32
+ <text text-anchor="middle" x="164" y="-479.79" font-family="Times,serif" font-size="14.00">Split</text>
33
+ </g>
34
+ <!-- Start&#45;&gt;Split -->
35
+ <g id="edge1" class="edge">
36
+ <title>Start&#45;&gt;Split</title>
37
+ <path fill="none" stroke="black" d="M164,-537.19C164,-529.48 164,-520.21 164,-511.61"/>
38
+ <polygon fill="black" stroke="black" points="167.5,-511.6 164,-501.6 160.5,-511.6 167.5,-511.6"/>
39
+ </g>
40
+ <!-- LeftGroup_Start -->
41
+ <g id="node3" class="node">
42
+ <title>LeftGroup_Start</title>
43
+ <polygon fill="none" stroke="black" points="149.5,-426.49 16.5,-426.49 16.5,-390.49 149.5,-390.49 149.5,-426.49"/>
44
+ <text text-anchor="middle" x="83" y="-404.79" font-family="Times,serif" font-size="14.00">LeftGroup_Start</text>
45
+ </g>
46
+ <!-- Split&#45;&gt;LeftGroup_Start -->
47
+ <g id="edge2" class="edge">
48
+ <title>Split&#45;&gt;LeftGroup_Start</title>
49
+ <path fill="none" stroke="black" d="M144.8,-465.19C134.31,-455.74 121.16,-443.88 109.68,-433.54"/>
50
+ <polygon fill="black" stroke="black" points="111.83,-430.77 102.06,-426.67 107.14,-435.97 111.83,-430.77"/>
51
+ </g>
52
+ <!-- RightGroup_Start -->
53
+ <g id="node4" class="node">
54
+ <title>RightGroup_Start</title>
55
+ <polygon fill="none" stroke="black" points="317.5,-426.49 174.5,-426.49 174.5,-390.49 317.5,-390.49 317.5,-426.49"/>
56
+ <text text-anchor="middle" x="246" y="-404.79" font-family="Times,serif" font-size="14.00">RightGroup_Start</text>
57
+ </g>
58
+ <!-- Split&#45;&gt;RightGroup_Start -->
59
+ <g id="edge3" class="edge">
60
+ <title>Split&#45;&gt;RightGroup_Start</title>
61
+ <path fill="none" stroke="black" d="M183.43,-465.19C194.05,-455.74 207.37,-443.88 218.99,-433.54"/>
62
+ <polygon fill="black" stroke="black" points="221.56,-435.93 226.71,-426.67 216.91,-430.71 221.56,-435.93"/>
63
+ </g>
64
+ <!-- LeftTask1 -->
65
+ <g id="node5" class="node">
66
+ <title>LeftTask1</title>
67
+ <polygon fill="none" stroke="black" points="129,-354.49 43,-354.49 43,-318.49 129,-318.49 129,-354.49"/>
68
+ <text text-anchor="middle" x="86" y="-332.79" font-family="Times,serif" font-size="14.00">LeftTask1</text>
69
+ </g>
70
+ <!-- LeftGroup_Start&#45;&gt;LeftTask1 -->
71
+ <g id="edge4" class="edge">
72
+ <title>LeftGroup_Start&#45;&gt;LeftTask1</title>
73
+ <path fill="none" stroke="black" d="M83.74,-390.19C84.07,-382.48 84.47,-373.21 84.84,-364.61"/>
74
+ <polygon fill="black" stroke="black" points="88.34,-364.74 85.27,-354.6 81.34,-364.44 88.34,-364.74"/>
75
+ </g>
76
+ <!-- RightTask1 -->
77
+ <g id="node8" class="node">
78
+ <title>RightTask1</title>
79
+ <polygon fill="none" stroke="black" points="288.5,-354.49 191.5,-354.49 191.5,-318.49 288.5,-318.49 288.5,-354.49"/>
80
+ <text text-anchor="middle" x="240" y="-332.79" font-family="Times,serif" font-size="14.00">RightTask1</text>
81
+ </g>
82
+ <!-- RightGroup_Start&#45;&gt;RightTask1 -->
83
+ <g id="edge7" class="edge">
84
+ <title>RightGroup_Start&#45;&gt;RightTask1</title>
85
+ <path fill="none" stroke="black" d="M244.52,-390.19C243.86,-382.48 243.06,-373.21 242.32,-364.61"/>
86
+ <polygon fill="black" stroke="black" points="245.81,-364.26 241.47,-354.6 238.83,-364.86 245.81,-364.26"/>
87
+ </g>
88
+ <!-- LeftTask2 -->
89
+ <g id="node6" class="node">
90
+ <title>LeftTask2</title>
91
+ <polygon fill="none" stroke="black" points="141,-282.49 55,-282.49 55,-246.49 141,-246.49 141,-282.49"/>
92
+ <text text-anchor="middle" x="98" y="-260.79" font-family="Times,serif" font-size="14.00">LeftTask2</text>
93
+ </g>
94
+ <!-- LeftTask1&#45;&gt;LeftTask2 -->
95
+ <g id="edge5" class="edge">
96
+ <title>LeftTask1&#45;&gt;LeftTask2</title>
97
+ <path fill="none" stroke="black" d="M88.97,-318.19C90.29,-310.48 91.88,-301.21 93.35,-292.61"/>
98
+ <polygon fill="black" stroke="black" points="96.83,-293.05 95.07,-282.6 89.93,-291.86 96.83,-293.05"/>
99
+ </g>
100
+ <!-- LeftDone -->
101
+ <g id="node7" class="node">
102
+ <title>LeftDone</title>
103
+ <polygon fill="none" stroke="black" points="146,-210.49 64,-210.49 64,-174.49 146,-174.49 146,-210.49"/>
104
+ <text text-anchor="middle" x="105" y="-188.79" font-family="Times,serif" font-size="14.00">LeftDone</text>
105
+ </g>
106
+ <!-- LeftTask2&#45;&gt;LeftDone -->
107
+ <g id="edge6" class="edge">
108
+ <title>LeftTask2&#45;&gt;LeftDone</title>
109
+ <path fill="none" stroke="black" d="M99.73,-246.19C100.5,-238.48 101.43,-229.21 102.29,-220.61"/>
110
+ <polygon fill="black" stroke="black" points="105.78,-220.9 103.29,-210.6 98.81,-220.2 105.78,-220.9"/>
111
+ </g>
112
+ <!-- Merge -->
113
+ <g id="node11" class="node">
114
+ <title>Merge</title>
115
+ <polygon fill="none" stroke="black" points="202.5,-138.49 139.5,-138.49 139.5,-102.49 202.5,-102.49 202.5,-138.49"/>
116
+ <text text-anchor="middle" x="171" y="-116.79" font-family="Times,serif" font-size="14.00">Merge</text>
117
+ </g>
118
+ <!-- LeftDone&#45;&gt;Merge -->
119
+ <g id="edge10" class="edge">
120
+ <title>LeftDone&#45;&gt;Merge</title>
121
+ <path fill="none" stroke="black" d="M121.31,-174.19C129.31,-165.71 139.07,-155.36 147.82,-146.08"/>
122
+ <polygon fill="black" stroke="black" points="150.56,-148.28 154.87,-138.6 145.47,-143.47 150.56,-148.28"/>
123
+ </g>
124
+ <!-- RightTask2 -->
125
+ <g id="node9" class="node">
126
+ <title>RightTask2</title>
127
+ <polygon fill="none" stroke="black" points="282.5,-282.49 185.5,-282.49 185.5,-246.49 282.5,-246.49 282.5,-282.49"/>
128
+ <text text-anchor="middle" x="234" y="-260.79" font-family="Times,serif" font-size="14.00">RightTask2</text>
129
+ </g>
130
+ <!-- RightTask1&#45;&gt;RightTask2 -->
131
+ <g id="edge8" class="edge">
132
+ <title>RightTask1&#45;&gt;RightTask2</title>
133
+ <path fill="none" stroke="black" d="M238.52,-318.19C237.86,-310.48 237.06,-301.21 236.32,-292.61"/>
134
+ <polygon fill="black" stroke="black" points="239.81,-292.26 235.47,-282.6 232.83,-292.86 239.81,-292.26"/>
135
+ </g>
136
+ <!-- RightDone -->
137
+ <g id="node10" class="node">
138
+ <title>RightDone</title>
139
+ <polygon fill="none" stroke="black" points="273,-210.49 181,-210.49 181,-174.49 273,-174.49 273,-210.49"/>
140
+ <text text-anchor="middle" x="227" y="-188.79" font-family="Times,serif" font-size="14.00">RightDone</text>
141
+ </g>
142
+ <!-- RightTask2&#45;&gt;RightDone -->
143
+ <g id="edge9" class="edge">
144
+ <title>RightTask2&#45;&gt;RightDone</title>
145
+ <path fill="none" stroke="black" d="M232.27,-246.19C231.5,-238.48 230.57,-229.21 229.71,-220.61"/>
146
+ <polygon fill="black" stroke="black" points="233.19,-220.2 228.71,-210.6 226.22,-220.9 233.19,-220.2"/>
147
+ </g>
148
+ <!-- RightDone&#45;&gt;Merge -->
149
+ <g id="edge11" class="edge">
150
+ <title>RightDone&#45;&gt;Merge</title>
151
+ <path fill="none" stroke="black" d="M213.16,-174.19C206.51,-165.88 198.42,-155.77 191.11,-146.64"/>
152
+ <polygon fill="black" stroke="black" points="193.66,-144.22 184.68,-138.6 188.2,-148.59 193.66,-144.22"/>
153
+ </g>
154
+ <!-- End -->
155
+ <g id="node12" class="node">
156
+ <title>End</title>
157
+ <ellipse fill="none" stroke="black" cx="171" cy="-33.25" rx="29.47" ry="29.47"/>
158
+ <ellipse fill="none" stroke="black" cx="171" cy="-33.25" rx="33.5" ry="33.5"/>
159
+ <text text-anchor="middle" x="171" y="-29.55" font-family="Times,serif" font-size="14.00">End</text>
160
+ </g>
161
+ <!-- Merge&#45;&gt;End -->
162
+ <g id="edge12" class="edge">
163
+ <title>Merge&#45;&gt;End</title>
164
+ <path fill="none" stroke="black" d="M171,-102.24C171,-94.82 171,-85.78 171,-76.75"/>
165
+ <polygon fill="black" stroke="black" points="174.5,-76.65 171,-66.65 167.5,-76.65 174.5,-76.65"/>
166
+ </g>
167
+ </g>
168
+ </svg>
@@ -0,0 +1,11 @@
1
+ digraph TrafficLightStateMachine {
2
+ rankdir=LR;
3
+ node [shape = circle];
4
+
5
+ Red -> Green [label="timer"];
6
+ Green -> Yellow [label="timer"];
7
+ Yellow -> Red [label="timer"];
8
+
9
+ Start [shape=square];
10
+ Start -> Red;
11
+ }
@@ -0,0 +1,64 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
3
+ "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <!-- Generated by graphviz version 2.43.0 (0)
5
+ -->
6
+ <!-- Title: TrafficLightStateMachine Pages: 1 -->
7
+ <svg width="466pt" height="143pt"
8
+ viewBox="0.00 0.00 465.78 143.29" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
9
+ <g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 139.29)">
10
+ <title>TrafficLightStateMachine</title>
11
+ <polygon fill="white" stroke="transparent" points="-4,4 -4,-139.29 461.78,-139.29 461.78,4 -4,4"/>
12
+ <!-- Red -->
13
+ <g id="node1" class="node">
14
+ <title>Red</title>
15
+ <ellipse fill="none" stroke="black" cx="118.6" cy="-40.3" rx="28.7" ry="28.7"/>
16
+ <text text-anchor="middle" x="118.6" y="-36.6" font-family="Times,serif" font-size="14.00">Red</text>
17
+ </g>
18
+ <!-- Green -->
19
+ <g id="node2" class="node">
20
+ <title>Green</title>
21
+ <ellipse fill="none" stroke="black" cx="262.19" cy="-96.3" rx="38.99" ry="38.99"/>
22
+ <text text-anchor="middle" x="262.19" y="-92.6" font-family="Times,serif" font-size="14.00">Green</text>
23
+ </g>
24
+ <!-- Red&#45;&gt;Green -->
25
+ <g id="edge1" class="edge">
26
+ <title>Red&#45;&gt;Green</title>
27
+ <path fill="none" stroke="black" d="M145.57,-50.57C165.36,-58.39 193.08,-69.36 216.42,-78.59"/>
28
+ <polygon fill="black" stroke="black" points="215.2,-81.87 225.79,-82.29 217.77,-75.36 215.2,-81.87"/>
29
+ <text text-anchor="middle" x="185.19" y="-77.1" font-family="Times,serif" font-size="14.00">timer</text>
30
+ </g>
31
+ <!-- Yellow -->
32
+ <g id="node3" class="node">
33
+ <title>Yellow</title>
34
+ <ellipse fill="none" stroke="black" cx="417.48" cy="-40.3" rx="40.09" ry="40.09"/>
35
+ <text text-anchor="middle" x="417.48" y="-36.6" font-family="Times,serif" font-size="14.00">Yellow</text>
36
+ </g>
37
+ <!-- Green&#45;&gt;Yellow -->
38
+ <g id="edge2" class="edge">
39
+ <title>Green&#45;&gt;Yellow</title>
40
+ <path fill="none" stroke="black" d="M299.13,-83.17C320.27,-75.44 347.23,-65.6 369.98,-57.29"/>
41
+ <polygon fill="black" stroke="black" points="371.24,-60.55 379.44,-53.83 368.84,-53.97 371.24,-60.55"/>
42
+ <text text-anchor="middle" x="339.19" y="-78.1" font-family="Times,serif" font-size="14.00">timer</text>
43
+ </g>
44
+ <!-- Yellow&#45;&gt;Red -->
45
+ <g id="edge3" class="edge">
46
+ <title>Yellow&#45;&gt;Red</title>
47
+ <path fill="none" stroke="black" d="M377.29,-37.33C354.99,-35.78 326.54,-34.07 301.19,-33.3 266.54,-32.25 257.84,-32.13 223.19,-33.3 201.36,-34.03 176.97,-35.64 157.35,-37.13"/>
48
+ <polygon fill="black" stroke="black" points="156.97,-33.65 147.27,-37.92 157.52,-40.63 156.97,-33.65"/>
49
+ <text text-anchor="middle" x="262.19" y="-37.1" font-family="Times,serif" font-size="14.00">timer</text>
50
+ </g>
51
+ <!-- Start -->
52
+ <g id="node4" class="node">
53
+ <title>Start</title>
54
+ <polygon fill="none" stroke="black" points="53,-66.8 0,-66.8 0,-13.8 53,-13.8 53,-66.8"/>
55
+ <text text-anchor="middle" x="26.5" y="-36.6" font-family="Times,serif" font-size="14.00">Start</text>
56
+ </g>
57
+ <!-- Start&#45;&gt;Red -->
58
+ <g id="edge4" class="edge">
59
+ <title>Start&#45;&gt;Red</title>
60
+ <path fill="none" stroke="black" d="M53.08,-40.3C61.3,-40.3 70.6,-40.3 79.53,-40.3"/>
61
+ <polygon fill="black" stroke="black" points="79.75,-43.8 89.75,-40.3 79.75,-36.8 79.75,-43.8"/>
62
+ </g>
63
+ </g>
64
+ </svg>