File size: 15,753 Bytes
da43f5e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
 "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 2.43.0 (0)
 -->
<!-- Title: ProcessFlowDiagram Pages: 1 -->
<svg width="1013pt" height="1288pt"
 viewBox="0.00 0.00 1013.46 1288.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(36 1252)">
<title>ProcessFlowDiagram</title>
<polygon fill="white" stroke="transparent" points="-36,36 -36,-1252 977.46,-1252 977.46,36 -36,36"/>
<!-- Start Coffee Making -->
<g id="node1" class="node">
<title>Start Coffee Making</title>
<ellipse fill="#a8e6cf" stroke="black" cx="612" cy="-1198" rx="104.78" ry="18"/>
<text text-anchor="middle" x="612" y="-1194.3" font-family="Times,serif" font-size="14.00">Start Coffee Making</text>
</g>
<!-- user_selects_drink -->
<g id="node2" class="node">
<title>user_selects_drink</title>
<path fill="#b8d4f1" stroke="black" d="M815.23,-1111C815.23,-1111 496.85,-1111 496.85,-1111 490.85,-1111 479.29,-1108.73 473.74,-1106.46 473.74,-1106.46 407.88,-1079.54 407.88,-1079.54 402.33,-1077.27 402.77,-1075 408.77,-1075 408.77,-1075 727.15,-1075 727.15,-1075 733.15,-1075 744.71,-1077.27 750.26,-1079.54 750.26,-1079.54 816.12,-1106.46 816.12,-1106.46 821.67,-1108.73 821.23,-1111 815.23,-1111"/>
<text text-anchor="middle" x="612" y="-1089.3" font-family="Times,serif" font-size="14.00">Customer Selects Drink Type</text>
</g>
<!-- Start Coffee Making&#45;&gt;user_selects_drink -->
<g id="edge1" class="edge">
<title>Start Coffee Making&#45;&gt;user_selects_drink</title>
<path fill="none" stroke="#4a4a4a" d="M612,-1179.71C612,-1179.71 612,-1121.08 612,-1121.08"/>
<polygon fill="#4a4a4a" stroke="#4a4a4a" points="615.5,-1121.08 612,-1111.08 608.5,-1121.08 615.5,-1121.08"/>
<text text-anchor="middle" x="636.5" y="-1143" font-family="Times,serif" font-size="10.00" fill="#4a4a4a">Power On</text>
</g>
<!-- check_water_level -->
<g id="node3" class="node">
<title>check_water_level</title>
<path fill="#bebebe" stroke="black" d="M694,-1006C694,-1006 530,-1006 530,-1006 524,-1006 518,-1000 518,-994 518,-994 518,-982 518,-982 518,-976 524,-970 530,-970 530,-970 694,-970 694,-970 700,-970 706,-976 706,-982 706,-982 706,-994 706,-994 706,-1000 700,-1006 694,-1006"/>
<text text-anchor="middle" x="612" y="-984.3" font-family="Times,serif" font-size="14.00">Check Water Tank Level</text>
</g>
<!-- user_selects_drink&#45;&gt;check_water_level -->
<g id="edge2" class="edge">
<title>user_selects_drink&#45;&gt;check_water_level</title>
<path fill="none" stroke="#4a4a4a" d="M612,-1074.71C612,-1074.71 612,-1016.08 612,-1016.08"/>
<polygon fill="#4a4a4a" stroke="#4a4a4a" points="615.5,-1016.08 612,-1006.08 608.5,-1016.08 615.5,-1016.08"/>
<text text-anchor="middle" x="651.5" y="-1038" font-family="Times,serif" font-size="10.00" fill="#4a4a4a">Selection Made</text>
</g>
<!-- water_sufficient -->
<g id="node4" class="node">
<title>water_sufficient</title>
<path fill="#fff9c4" stroke="black" d="M600.14,-899.15C600.14,-899.15 508.23,-884.85 508.23,-884.85 502.3,-883.92 502.3,-882.08 508.23,-881.15 508.23,-881.15 600.14,-866.85 600.14,-866.85 606.07,-865.92 617.93,-865.92 623.86,-866.85 623.86,-866.85 715.77,-881.15 715.77,-881.15 721.7,-882.08 721.7,-883.92 715.77,-884.85 715.77,-884.85 623.86,-899.15 623.86,-899.15 617.93,-900.08 606.07,-900.08 600.14,-899.15"/>
<text text-anchor="middle" x="612" y="-879.3" font-family="Times,serif" font-size="14.00">Enough Water?</text>
</g>
<!-- check_water_level&#45;&gt;water_sufficient -->
<g id="edge3" class="edge">
<title>check_water_level&#45;&gt;water_sufficient</title>
<path fill="none" stroke="#4a4a4a" d="M612,-969.71C612,-969.71 612,-911.08 612,-911.08"/>
<polygon fill="#4a4a4a" stroke="#4a4a4a" points="615.5,-911.08 612,-901.08 608.5,-911.08 615.5,-911.08"/>
<text text-anchor="middle" x="650" y="-933" font-family="Times,serif" font-size="10.00" fill="#4a4a4a">Level Checked</text>
</g>
<!-- check_coffee_beans -->
<g id="node5" class="node">
<title>check_coffee_beans</title>
<path fill="#bebebe" stroke="black" d="M591,-796C591,-796 411,-796 411,-796 405,-796 399,-790 399,-784 399,-784 399,-772 399,-772 399,-766 405,-760 411,-760 411,-760 591,-760 591,-760 597,-760 603,-766 603,-772 603,-772 603,-784 603,-784 603,-790 597,-796 591,-796"/>
<text text-anchor="middle" x="501" y="-774.3" font-family="Times,serif" font-size="14.00">Check Coffee Bean Supply</text>
</g>
<!-- water_sufficient&#45;&gt;check_coffee_beans -->
<g id="edge4" class="edge">
<title>water_sufficient&#45;&gt;check_coffee_beans</title>
<path fill="none" stroke="#4a4a4a" d="M549.59,-874.41C549.59,-874.41 549.59,-806.09 549.59,-806.09"/>
<polygon fill="#4a4a4a" stroke="#4a4a4a" points="553.09,-806.09 549.59,-796.09 546.09,-806.09 553.09,-806.09"/>
<text text-anchor="middle" x="588.5" y="-828" font-family="Times,serif" font-size="10.00" fill="#4a4a4a">Sufficient</text>
</g>
<!-- show_water_warning -->
<g id="node12" class="node">
<title>show_water_warning</title>
<path fill="#b8d4f1" stroke="black" d="M929.42,-731C929.42,-731 613.92,-731 613.92,-731 607.92,-731 596.37,-728.71 590.82,-726.43 590.82,-726.43 525.68,-699.57 525.68,-699.57 520.13,-697.29 520.58,-695 526.58,-695 526.58,-695 842.08,-695 842.08,-695 848.08,-695 859.63,-697.29 865.18,-699.57 865.18,-699.57 930.32,-726.43 930.32,-726.43 935.87,-728.71 935.42,-731 929.42,-731"/>
<text text-anchor="middle" x="728" y="-709.3" font-family="Times,serif" font-size="14.00">Display &#39;Add Water&#39; Message</text>
</g>
<!-- water_sufficient&#45;&gt;show_water_warning -->
<g id="edge5" class="edge">
<title>water_sufficient&#45;&gt;show_water_warning</title>
<path fill="none" stroke="#4a4a4a" d="M665.41,-872.87C665.41,-872.87 665.41,-741.16 665.41,-741.16"/>
<polygon fill="#4a4a4a" stroke="#4a4a4a" points="668.91,-741.16 665.41,-731.16 661.91,-741.16 668.91,-741.16"/>
<text text-anchor="middle" x="723.5" y="-828" font-family="Times,serif" font-size="10.00" fill="#4a4a4a">Low Water</text>
</g>
<!-- beans_available -->
<g id="node6" class="node">
<title>beans_available</title>
<path fill="#fff9c4" stroke="black" d="M430.12,-664.3C430.12,-664.3 328.03,-649.7 328.03,-649.7 322.09,-648.85 322.09,-647.15 328.03,-646.3 328.03,-646.3 430.12,-631.7 430.12,-631.7 436.06,-630.85 447.94,-630.85 453.88,-631.7 453.88,-631.7 555.97,-646.3 555.97,-646.3 561.91,-647.15 561.91,-648.85 555.97,-649.7 555.97,-649.7 453.88,-664.3 453.88,-664.3 447.94,-665.15 436.06,-665.15 430.12,-664.3"/>
<text text-anchor="middle" x="442" y="-644.3" font-family="Times,serif" font-size="14.00">Beans Available?</text>
</g>
<!-- check_coffee_beans&#45;&gt;beans_available -->
<g id="edge6" class="edge">
<title>check_coffee_beans&#45;&gt;beans_available</title>
<path fill="none" stroke="#4a4a4a" d="M456.77,-759.92C456.77,-759.92 456.77,-674.28 456.77,-674.28"/>
<polygon fill="#4a4a4a" stroke="#4a4a4a" points="460.27,-674.28 456.77,-664.28 453.27,-674.28 460.27,-674.28"/>
<text text-anchor="middle" x="475.5" y="-710.5" font-family="Times,serif" font-size="10.00" fill="#4a4a4a">Bean Check</text>
</g>
<!-- grind_coffee_beans -->
<g id="node7" class="node">
<title>grind_coffee_beans</title>
<path fill="#bebebe" stroke="black" d="M164.5,-561C164.5,-561 33.5,-561 33.5,-561 27.5,-561 21.5,-555 21.5,-549 21.5,-549 21.5,-537 21.5,-537 21.5,-531 27.5,-525 33.5,-525 33.5,-525 164.5,-525 164.5,-525 170.5,-525 176.5,-531 176.5,-537 176.5,-537 176.5,-549 176.5,-549 176.5,-555 170.5,-561 164.5,-561"/>
<text text-anchor="middle" x="99" y="-539.3" font-family="Times,serif" font-size="14.00">Grind Coffee Beans</text>
</g>
<!-- beans_available&#45;&gt;grind_coffee_beans -->
<g id="edge7" class="edge">
<title>beans_available&#45;&gt;grind_coffee_beans</title>
<path fill="none" stroke="#4a4a4a" d="M315.74,-648C217.94,-648 99,-648 99,-648 99,-648 99,-571.29 99,-571.29"/>
<polygon fill="#4a4a4a" stroke="#4a4a4a" points="102.5,-571.29 99,-561.29 95.5,-571.29 102.5,-571.29"/>
<text text-anchor="middle" x="246.5" y="-593" font-family="Times,serif" font-size="10.00" fill="#4a4a4a">Available</text>
</g>
<!-- show_beans_warning -->
<g id="node13" class="node">
<title>show_beans_warning</title>
<path fill="#b8d4f1" stroke="black" d="M652.98,-561C652.98,-561 322.27,-561 322.27,-561 316.27,-561 304.69,-558.8 299.11,-556.6 299.11,-556.6 230.19,-529.4 230.19,-529.4 224.61,-527.2 225.02,-525 231.02,-525 231.02,-525 561.73,-525 561.73,-525 567.73,-525 579.31,-527.2 584.89,-529.4 584.89,-529.4 653.81,-556.6 653.81,-556.6 659.39,-558.8 658.98,-561 652.98,-561"/>
<text text-anchor="middle" x="442" y="-539.3" font-family="Times,serif" font-size="14.00">Display &#39;Refill Beans&#39; Message</text>
</g>
<!-- beans_available&#45;&gt;show_beans_warning -->
<g id="edge8" class="edge">
<title>beans_available&#45;&gt;show_beans_warning</title>
<path fill="none" stroke="#4a4a4a" d="M442,-629.71C442,-629.71 442,-571.08 442,-571.08"/>
<polygon fill="#4a4a4a" stroke="#4a4a4a" points="445.5,-571.08 442,-561.08 438.5,-571.08 445.5,-571.08"/>
<text text-anchor="middle" x="459" y="-593" font-family="Times,serif" font-size="10.00" fill="#4a4a4a">Empty</text>
</g>
<!-- heat_water -->
<g id="node8" class="node">
<title>heat_water</title>
<path fill="#bebebe" stroke="black" d="M202,-456C202,-456 12,-456 12,-456 6,-456 0,-450 0,-444 0,-444 0,-432 0,-432 0,-426 6,-420 12,-420 12,-420 202,-420 202,-420 208,-420 214,-426 214,-432 214,-432 214,-444 214,-444 214,-450 208,-456 202,-456"/>
<text text-anchor="middle" x="107" y="-434.3" font-family="Times,serif" font-size="14.00">Heat Water to Temperature</text>
</g>
<!-- grind_coffee_beans&#45;&gt;heat_water -->
<g id="edge9" class="edge">
<title>grind_coffee_beans&#45;&gt;heat_water</title>
<path fill="none" stroke="#4a4a4a" d="M99,-524.71C99,-524.71 99,-466.08 99,-466.08"/>
<polygon fill="#4a4a4a" stroke="#4a4a4a" points="102.5,-466.08 99,-456.08 95.5,-466.08 102.5,-466.08"/>
<text text-anchor="middle" x="140" y="-488" font-family="Times,serif" font-size="10.00" fill="#4a4a4a">Grinding Done</text>
</g>
<!-- brew_coffee -->
<g id="node9" class="node">
<title>brew_coffee</title>
<path fill="#bebebe" stroke="black" d="M178,-351C178,-351 98,-351 98,-351 92,-351 86,-345 86,-339 86,-339 86,-327 86,-327 86,-321 92,-315 98,-315 98,-315 178,-315 178,-315 184,-315 190,-321 190,-327 190,-327 190,-339 190,-339 190,-345 184,-351 178,-351"/>
<text text-anchor="middle" x="138" y="-329.3" font-family="Times,serif" font-size="14.00">Brew Coffee</text>
</g>
<!-- heat_water&#45;&gt;brew_coffee -->
<g id="edge10" class="edge">
<title>heat_water&#45;&gt;brew_coffee</title>
<path fill="none" stroke="#4a4a4a" d="M138,-419.71C138,-419.71 138,-361.08 138,-361.08"/>
<polygon fill="#4a4a4a" stroke="#4a4a4a" points="141.5,-361.08 138,-351.08 134.5,-361.08 141.5,-361.08"/>
<text text-anchor="middle" x="150" y="-383" font-family="Times,serif" font-size="10.00" fill="#4a4a4a">Water Ready</text>
</g>
<!-- dispense_coffee -->
<g id="node10" class="node">
<title>dispense_coffee</title>
<path fill="#b8d4f1" stroke="black" d="M342.28,-246C342.28,-246 89.04,-246 89.04,-246 83.04,-246 71.69,-243.3 66.33,-240.59 66.33,-240.59 16.44,-215.41 16.44,-215.41 11.08,-212.7 11.72,-210 17.72,-210 17.72,-210 270.96,-210 270.96,-210 276.96,-210 288.31,-212.7 293.67,-215.41 293.67,-215.41 343.56,-240.59 343.56,-240.59 348.92,-243.3 348.28,-246 342.28,-246"/>
<text text-anchor="middle" x="180" y="-224.3" font-family="Times,serif" font-size="14.00">Dispense Coffee to Cup</text>
</g>
<!-- brew_coffee&#45;&gt;dispense_coffee -->
<g id="edge11" class="edge">
<title>brew_coffee&#45;&gt;dispense_coffee</title>
<path fill="none" stroke="#4a4a4a" d="M138,-314.71C138,-314.71 138,-256.08 138,-256.08"/>
<polygon fill="#4a4a4a" stroke="#4a4a4a" points="141.5,-256.08 138,-246.08 134.5,-256.08 141.5,-256.08"/>
<text text-anchor="middle" x="226.5" y="-278" font-family="Times,serif" font-size="10.00" fill="#4a4a4a">Brewing Complete</text>
</g>
<!-- generate_receipt -->
<g id="node11" class="node">
<title>generate_receipt</title>
<polygon fill="#f0f8ff" stroke="black" points="319.5,-141 214.5,-141 214.5,-105 325.5,-105 325.5,-135 319.5,-141"/>
<polyline fill="none" stroke="black" points="319.5,-141 319.5,-135 "/>
<polyline fill="none" stroke="black" points="325.5,-135 319.5,-135 "/>
<text text-anchor="middle" x="270" y="-119.3" font-family="Times,serif" font-size="14.00">Print Receipt</text>
</g>
<!-- dispense_coffee&#45;&gt;generate_receipt -->
<g id="edge12" class="edge">
<title>dispense_coffee&#45;&gt;generate_receipt</title>
<path fill="none" stroke="#4a4a4a" d="M270,-209.71C270,-209.71 270,-151.08 270,-151.08"/>
<polygon fill="#4a4a4a" stroke="#4a4a4a" points="273.5,-151.08 270,-141.08 266.5,-151.08 273.5,-151.08"/>
<text text-anchor="middle" x="246" y="-173" font-family="Times,serif" font-size="10.00" fill="#4a4a4a">Coffee Served</text>
</g>
<!-- end_coffee_process -->
<g id="node15" class="node">
<title>end_coffee_process</title>
<ellipse fill="#ffb3ba" stroke="black" cx="355" cy="-18" rx="126.18" ry="18"/>
<text text-anchor="middle" x="355" y="-14.3" font-family="Times,serif" font-size="14.00">Coffee Process Complete</text>
</g>
<!-- generate_receipt&#45;&gt;end_coffee_process -->
<g id="edge13" class="edge">
<title>generate_receipt&#45;&gt;end_coffee_process</title>
<path fill="none" stroke="#4a4a4a" d="M277.21,-104.71C277.21,-104.71 277.21,-42.37 277.21,-42.37"/>
<polygon fill="#4a4a4a" stroke="#4a4a4a" points="280.71,-42.37 277.21,-32.37 273.71,-42.37 280.71,-42.37"/>
<text text-anchor="middle" x="342" y="-68" font-family="Times,serif" font-size="10.00" fill="#4a4a4a">Transaction Complete</text>
</g>
<!-- machine_maintenance_log -->
<g id="node14" class="node">
<title>machine_maintenance_log</title>
<polygon fill="#f0f8ff" stroke="black" points="525.5,-456 352.5,-456 352.5,-420 531.5,-420 531.5,-450 525.5,-456"/>
<polyline fill="none" stroke="black" points="525.5,-456 525.5,-450 "/>
<polyline fill="none" stroke="black" points="531.5,-450 525.5,-450 "/>
<text text-anchor="middle" x="442" y="-434.3" font-family="Times,serif" font-size="14.00">Log Maintenance Alert</text>
</g>
<!-- show_water_warning&#45;&gt;machine_maintenance_log -->
<g id="edge14" class="edge">
<title>show_water_warning&#45;&gt;machine_maintenance_log</title>
<path fill="none" stroke="#4a4a4a" d="M803.22,-694.96C803.22,-633.78 803.22,-438 803.22,-438 803.22,-438 541.76,-438 541.76,-438"/>
<polygon fill="#4a4a4a" stroke="#4a4a4a" points="541.76,-434.5 531.76,-438 541.76,-441.5 541.76,-434.5"/>
<text text-anchor="middle" x="771" y="-593" font-family="Times,serif" font-size="10.00" fill="#4a4a4a">Warning Shown</text>
</g>
<!-- show_beans_warning&#45;&gt;machine_maintenance_log -->
<g id="edge15" class="edge">
<title>show_beans_warning&#45;&gt;machine_maintenance_log</title>
<path fill="none" stroke="#4a4a4a" d="M442,-524.71C442,-524.71 442,-466.08 442,-466.08"/>
<polygon fill="#4a4a4a" stroke="#4a4a4a" points="445.5,-466.08 442,-456.08 438.5,-466.08 445.5,-466.08"/>
<text text-anchor="middle" x="483" y="-488" font-family="Times,serif" font-size="10.00" fill="#4a4a4a">Warning Shown</text>
</g>
<!-- machine_maintenance_log&#45;&gt;end_coffee_process -->
<g id="edge16" class="edge">
<title>machine_maintenance_log&#45;&gt;end_coffee_process</title>
<path fill="none" stroke="#4a4a4a" d="M417.74,-419.95C417.74,-419.95 417.74,-43.7 417.74,-43.7"/>
<polygon fill="#4a4a4a" stroke="#4a4a4a" points="421.24,-43.7 417.74,-33.7 414.24,-43.7 421.24,-43.7"/>
<text text-anchor="middle" x="474.5" y="-225.5" font-family="Times,serif" font-size="10.00" fill="#4a4a4a">Alert Logged</text>
</g>
</g>
</svg>