-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflowchart.drawio
167 lines (167 loc) · 15.1 KB
/
flowchart.drawio
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
<mxfile host="app.diagrams.net" modified="2023-09-10T18:08:59.951Z" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/117.0" etag="AxY8NW2v98azYG0k9yTT" version="21.7.4" type="github">
<diagram name="Pagina-1" id="2gos69s21MuJ627ifOLR">
<mxGraphModel dx="2868" dy="1834" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="n0xzZIarMgplh2QM0Bvz-25" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="n0xzZIarMgplh2QM0Bvz-23" target="n0xzZIarMgplh2QM0Bvz-24" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="n0xzZIarMgplh2QM0Bvz-23" value="await user input" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="210" y="540" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="n0xzZIarMgplh2QM0Bvz-62" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="n0xzZIarMgplh2QM0Bvz-24" target="n0xzZIarMgplh2QM0Bvz-37" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="n0xzZIarMgplh2QM0Bvz-24" value="<div>Command</div><div>(with strings)<br></div>" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="414" y="540" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="s5JfTiGAQqixHf-BNGVD-10" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=0.75;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="n0xzZIarMgplh2QM0Bvz-31" target="n0xzZIarMgplh2QM0Bvz-23">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="n0xzZIarMgplh2QM0Bvz-31" value="print error" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="340" y="670" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="n0xzZIarMgplh2QM0Bvz-49" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="n0xzZIarMgplh2QM0Bvz-37" target="n0xzZIarMgplh2QM0Bvz-40" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="n0xzZIarMgplh2QM0Bvz-50" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;dashed=1;" parent="1" source="n0xzZIarMgplh2QM0Bvz-37" target="n0xzZIarMgplh2QM0Bvz-39" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="n0xzZIarMgplh2QM0Bvz-37" value="<div>Command</div><div>(with objects)<br></div>" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="840" y="540" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="n0xzZIarMgplh2QM0Bvz-51" value="Provides" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" parent="1" source="n0xzZIarMgplh2QM0Bvz-39" target="n0xzZIarMgplh2QM0Bvz-40" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="n0xzZIarMgplh2QM0Bvz-39" value="Service Resolver" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="1060" y="670" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="n0xzZIarMgplh2QM0Bvz-95" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="n0xzZIarMgplh2QM0Bvz-40" target="n0xzZIarMgplh2QM0Bvz-75" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="n0xzZIarMgplh2QM0Bvz-96" value="Correct Object" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="n0xzZIarMgplh2QM0Bvz-95" vertex="1" connectable="0">
<mxGeometry x="-0.0222" y="-1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="n0xzZIarMgplh2QM0Bvz-99" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.75;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="n0xzZIarMgplh2QM0Bvz-40" target="n0xzZIarMgplh2QM0Bvz-90" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="n0xzZIarMgplh2QM0Bvz-100" value="<div>Functionality is on&nbsp;</div><div>Preposition Object*</div>" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="n0xzZIarMgplh2QM0Bvz-99" vertex="1" connectable="0">
<mxGeometry x="0.0244" y="1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="n0xzZIarMgplh2QM0Bvz-40" value="<div>Service</div><div>(Object / Item)<br></div>" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="1060" y="540" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="n0xzZIarMgplh2QM0Bvz-67" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.75;exitY=0;exitDx=0;exitDy=0;" parent="1" source="n0xzZIarMgplh2QM0Bvz-46" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="790" y="570" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="n0xzZIarMgplh2QM0Bvz-68" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.25;exitY=0;exitDx=0;exitDy=0;endArrow=none;endFill=0;startArrow=classic;startFill=1;" parent="1" source="n0xzZIarMgplh2QM0Bvz-46" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="730" y="570" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="n0xzZIarMgplh2QM0Bvz-46" value="ObjectResolver" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="700" y="670" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="n0xzZIarMgplh2QM0Bvz-63" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.75;exitY=0;exitDx=0;exitDy=0;" parent="1" source="n0xzZIarMgplh2QM0Bvz-59" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="630" y="570" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="s5JfTiGAQqixHf-BNGVD-4" value="Valid" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="n0xzZIarMgplh2QM0Bvz-63">
<mxGeometry x="-0.1045" y="-2" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="n0xzZIarMgplh2QM0Bvz-64" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.25;exitY=0;exitDx=0;exitDy=0;endArrow=none;endFill=0;startArrow=classic;startFill=1;" parent="1" source="n0xzZIarMgplh2QM0Bvz-59" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="570" y="570" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="n0xzZIarMgplh2QM0Bvz-65" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="n0xzZIarMgplh2QM0Bvz-59" target="n0xzZIarMgplh2QM0Bvz-31" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="n0xzZIarMgplh2QM0Bvz-66" value="Invalid" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="n0xzZIarMgplh2QM0Bvz-65" vertex="1" connectable="0">
<mxGeometry x="-0.0207" y="-1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="n0xzZIarMgplh2QM0Bvz-59" value="CommandValidator" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="540" y="670" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="s5JfTiGAQqixHf-BNGVD-15" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="n0xzZIarMgplh2QM0Bvz-75" target="s5JfTiGAQqixHf-BNGVD-7">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="1460" y="570" />
<mxPoint x="1460" y="820" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="n0xzZIarMgplh2QM0Bvz-75" value="Execute Action on Object / Item" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="1300" y="540" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="n0xzZIarMgplh2QM0Bvz-88" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;dashed=1;" parent="1" source="n0xzZIarMgplh2QM0Bvz-83" target="n0xzZIarMgplh2QM0Bvz-40" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="n0xzZIarMgplh2QM0Bvz-89" value="Injected" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="n0xzZIarMgplh2QM0Bvz-88" vertex="1" connectable="0">
<mxGeometry x="-0.18" y="-2" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="n0xzZIarMgplh2QM0Bvz-83" value="Containers" style="swimlane;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="950" y="140" width="340" height="300" as="geometry" />
</mxCell>
<mxCell id="n0xzZIarMgplh2QM0Bvz-77" value="Items Container" style="rounded=0;whiteSpace=wrap;html=1;" parent="n0xzZIarMgplh2QM0Bvz-83" vertex="1">
<mxGeometry x="30" y="40" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="n0xzZIarMgplh2QM0Bvz-76" value="Objects Container" style="rounded=0;whiteSpace=wrap;html=1;" parent="n0xzZIarMgplh2QM0Bvz-83" vertex="1">
<mxGeometry x="190" y="40" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="n0xzZIarMgplh2QM0Bvz-84" value="Environments Container" style="rounded=0;whiteSpace=wrap;html=1;" parent="n0xzZIarMgplh2QM0Bvz-83" vertex="1">
<mxGeometry x="190" y="120" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="n0xzZIarMgplh2QM0Bvz-80" value="<div>Globals Container<br></div><div>(Player)<br></div>" style="rounded=0;whiteSpace=wrap;html=1;" parent="n0xzZIarMgplh2QM0Bvz-83" vertex="1">
<mxGeometry x="30" y="200" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="n0xzZIarMgplh2QM0Bvz-87" value="Effects Container" style="rounded=0;whiteSpace=wrap;html=1;" parent="n0xzZIarMgplh2QM0Bvz-83" vertex="1">
<mxGeometry x="30" y="120" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="n0xzZIarMgplh2QM0Bvz-98" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" parent="1" source="n0xzZIarMgplh2QM0Bvz-90" target="n0xzZIarMgplh2QM0Bvz-75" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="n0xzZIarMgplh2QM0Bvz-90" value="Import service and execute with switched objects**" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="1300" y="670" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="s5JfTiGAQqixHf-BNGVD-9" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=0.25;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="s5JfTiGAQqixHf-BNGVD-7" target="n0xzZIarMgplh2QM0Bvz-23">
<mxGeometry relative="1" as="geometry">
<mxPoint x="90" y="730" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="s5JfTiGAQqixHf-BNGVD-7" value="print result" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="340" y="790" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="s5JfTiGAQqixHf-BNGVD-14" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="s5JfTiGAQqixHf-BNGVD-13" target="n0xzZIarMgplh2QM0Bvz-23">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="s5JfTiGAQqixHf-BNGVD-13" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" vertex="1" parent="1">
<mxGeometry x="110" y="555" width="30" height="30" as="geometry" />
</mxCell>
<mxCell id="s5JfTiGAQqixHf-BNGVD-17" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;jumpStyle=arc;jumpSize=20;dashed=1;" edge="1" parent="1" source="s5JfTiGAQqixHf-BNGVD-16" target="n0xzZIarMgplh2QM0Bvz-59">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="s5JfTiGAQqixHf-BNGVD-16" value="Config" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="540" y="870" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="s5JfTiGAQqixHf-BNGVD-18" value="<div align="left">* In case of an interactions that can go both ways, the logic is defined on a single `Service`. The `ServiceResolver` provides the service associated with the `Command.object` so if the logic is on the service associated with the `Command.preposition_object` it cannot be executed.</div><div align="left"><br></div><div align="left">** A service is executed using the `Command.object` so the objects on the command need to be switched during the operattions on the other service.<br></div>" style="rounded=0;whiteSpace=wrap;html=1;align=left;" vertex="1" parent="1">
<mxGeometry x="1150" y="900" width="400" height="130" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>