@eclipse-glsp-examples/workflow-server 2.6.0-next.3 → 2.7.0-next.10

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 (51) hide show
  1. package/lib/browser/example1.json +558 -502
  2. package/lib/common/graph-extension.d.ts +1 -1
  3. package/lib/common/graph-extension.js +3 -3
  4. package/lib/common/graph-extension.js.map +1 -1
  5. package/lib/common/index.d.ts +4 -0
  6. package/lib/common/index.d.ts.map +1 -1
  7. package/lib/common/index.js +4 -0
  8. package/lib/common/index.js.map +1 -1
  9. package/lib/common/mcp/workflow-element-types-provider.d.ts +27 -0
  10. package/lib/common/mcp/workflow-element-types-provider.d.ts.map +1 -0
  11. package/lib/common/mcp/workflow-element-types-provider.js +62 -0
  12. package/lib/common/mcp/workflow-element-types-provider.js.map +1 -0
  13. package/lib/common/mcp/workflow-mcp-label-provider.d.ts +27 -0
  14. package/lib/common/mcp/workflow-mcp-label-provider.d.ts.map +1 -0
  15. package/lib/common/mcp/workflow-mcp-label-provider.js +48 -0
  16. package/lib/common/mcp/workflow-mcp-label-provider.js.map +1 -0
  17. package/lib/common/mcp/workflow-mcp-model-serializer.d.ts +29 -0
  18. package/lib/common/mcp/workflow-mcp-model-serializer.d.ts.map +1 -0
  19. package/lib/common/mcp/workflow-mcp-model-serializer.js +189 -0
  20. package/lib/common/mcp/workflow-mcp-model-serializer.js.map +1 -0
  21. package/lib/common/mcp/workflow-mcp-module.d.ts +36 -0
  22. package/lib/common/mcp/workflow-mcp-module.d.ts.map +1 -0
  23. package/lib/common/mcp/workflow-mcp-module.js +49 -0
  24. package/lib/common/mcp/workflow-mcp-module.js.map +1 -0
  25. package/lib/common/util/model-types.d.ts +1 -1
  26. package/lib/common/util/model-types.d.ts.map +1 -1
  27. package/lib/common/util/model-types.js +1 -2
  28. package/lib/common/util/model-types.js.map +1 -1
  29. package/lib/common/workflow-diagram-module.d.ts +3 -3
  30. package/lib/common/workflow-diagram-module.d.ts.map +1 -1
  31. package/lib/common/workflow-diagram-module.js +3 -3
  32. package/lib/common/workflow-diagram-module.js.map +1 -1
  33. package/lib/common/workflow-glsp-server.d.ts +4 -4
  34. package/lib/common/workflow-glsp-server.d.ts.map +1 -1
  35. package/lib/common/workflow-glsp-server.js +12 -13
  36. package/lib/common/workflow-glsp-server.js.map +1 -1
  37. package/lib/node/app.d.ts +1 -1
  38. package/lib/node/app.js +6 -5
  39. package/lib/node/app.js.map +1 -1
  40. package/package.json +6 -5
  41. package/src/browser/example1.json +558 -502
  42. package/src/common/graph-extension.ts +3 -3
  43. package/src/common/index.ts +4 -0
  44. package/src/common/mcp/workflow-element-types-provider.ts +54 -0
  45. package/src/common/mcp/workflow-mcp-label-provider.ts +37 -0
  46. package/src/common/mcp/workflow-mcp-model-serializer.ts +187 -0
  47. package/src/common/mcp/workflow-mcp-module.ts +54 -0
  48. package/src/common/util/model-types.ts +1 -2
  49. package/src/common/workflow-diagram-module.ts +5 -5
  50. package/src/common/workflow-glsp-server.ts +17 -10
  51. package/src/node/app.ts +12 -8
@@ -1,694 +1,750 @@
1
1
  {
2
+ "cssClasses": [],
3
+ "type": "graph",
4
+ "position": {
5
+ "x": 0,
6
+ "y": 0
7
+ },
2
8
  "id": "sprotty",
9
+ "revision": 1,
3
10
  "children": [
4
11
  {
5
- "name": "Push",
6
- "taskType": "manual",
7
- "id": "task0",
8
- "cssClasses": ["task", "manual"],
12
+ "cssClasses": ["task", "automated"],
13
+ "type": "task:automated",
14
+ "id": "task_ChkTp",
15
+ "layout": "hbox",
16
+ "args": {
17
+ "radiusTopLeft": 5,
18
+ "radiusBottomLeft": 5,
19
+ "radiusBottomRight": 5,
20
+ "radiusTopRight": 5
21
+ },
22
+ "position": {
23
+ "x": 220,
24
+ "y": 150
25
+ },
26
+ "name": "ChkTp",
27
+ "taskType": "automated",
28
+ "layoutOptions": {
29
+ "paddingRight": 10,
30
+ "prefWidth": 82.4482421875,
31
+ "prefHeight": 30
32
+ },
33
+ "size": {
34
+ "width": 82.4482421875,
35
+ "height": 30
36
+ },
9
37
  "children": [
10
38
  {
11
- "id": "task0_icon",
39
+ "cssClasses": [],
12
40
  "type": "icon",
41
+ "id": "task_ChkTp_icon",
13
42
  "position": {
14
- "x": 5.0,
15
- "y": 5.0
43
+ "x": 5,
44
+ "y": 5
16
45
  },
17
46
  "size": {
18
- "width": 25.0,
19
- "height": 20.0
20
- }
47
+ "width": 25,
48
+ "height": 20
49
+ },
50
+ "children": []
21
51
  },
22
52
  {
23
- "id": "task0_classname",
53
+ "cssClasses": [],
24
54
  "type": "label:heading",
55
+ "alignment": {
56
+ "x": 20.6171875,
57
+ "y": 13
58
+ },
59
+ "id": "task_ChkTp_label",
60
+ "text": "ChkTp",
25
61
  "position": {
26
- "x": 31.0,
27
- "y": 7.0
62
+ "x": 31,
63
+ "y": 7
28
64
  },
29
65
  "size": {
30
- "width": 31.921875,
31
- "height": 16.0
66
+ "width": 41.4482421875,
67
+ "height": 16
32
68
  },
33
- "text": "Push",
34
- "alignment": {
35
- "x": 15.9609375,
36
- "y": 13.0
37
- }
69
+ "children": []
38
70
  }
39
- ],
71
+ ]
72
+ },
73
+ {
74
+ "cssClasses": ["task", "manual"],
40
75
  "type": "task:manual",
41
- "position": {
42
- "x": 70.0,
43
- "y": 140.0
76
+ "id": "task_Push",
77
+ "layout": "hbox",
78
+ "args": {
79
+ "radiusTopLeft": 5,
80
+ "radiusBottomLeft": 5,
81
+ "radiusBottomRight": 5,
82
+ "radiusTopRight": 5
44
83
  },
45
- "size": {
46
- "width": 72.921875,
47
- "height": 30.0
84
+ "position": {
85
+ "x": 70,
86
+ "y": 100
48
87
  },
49
- "layout": "hbox",
88
+ "name": "Push",
89
+ "taskType": "manual",
50
90
  "layoutOptions": {
51
- "paddingRight": 10.0,
91
+ "paddingRight": 10,
52
92
  "prefWidth": 72.921875,
53
- "prefHeight": 30.0
93
+ "prefHeight": 30
94
+ },
95
+ "size": {
96
+ "width": 72.921875,
97
+ "height": 30
54
98
  },
55
- "args": {
56
- "radiusBottomLeft": 5.0,
57
- "radiusTopLeft": 5.0,
58
- "radiusTopRight": 5.0,
59
- "radiusBottomRight": 5.0
60
- }
61
- },
62
- {
63
- "name": "ChkWt",
64
- "taskType": "automated",
65
- "id": "task0_automated",
66
- "cssClasses": ["task", "automated"],
67
99
  "children": [
68
100
  {
69
- "id": "task0_automated_icon",
101
+ "cssClasses": [],
70
102
  "type": "icon",
103
+ "id": "task_Push_icon",
71
104
  "position": {
72
- "x": 5.0,
73
- "y": 5.0
105
+ "x": 5,
106
+ "y": 5
74
107
  },
75
108
  "size": {
76
- "width": 25.0,
77
- "height": 20.0
78
- }
109
+ "width": 25,
110
+ "height": 20
111
+ },
112
+ "children": []
79
113
  },
80
114
  {
81
- "id": "task0_automated_classname",
115
+ "cssClasses": [],
82
116
  "type": "label:heading",
117
+ "alignment": {
118
+ "x": 15.9609375,
119
+ "y": 13
120
+ },
121
+ "id": "task_Push_label",
122
+ "text": "Push",
83
123
  "position": {
84
- "x": 31.0,
85
- "y": 7.0
124
+ "x": 31,
125
+ "y": 7
86
126
  },
87
127
  "size": {
88
- "width": 42.1103515625,
89
- "height": 16.0
128
+ "width": 31.921875,
129
+ "height": 16
90
130
  },
91
- "text": "ChkWt",
92
- "alignment": {
93
- "x": 21.0,
94
- "y": 13.0
95
- }
131
+ "children": []
96
132
  }
97
- ],
98
- "type": "task:automated",
99
- "position": {
100
- "x": 220.0,
101
- "y": 90.0
102
- },
103
- "size": {
104
- "width": 83.1103515625,
105
- "height": 30.0
106
- },
107
- "layout": "hbox",
108
- "layoutOptions": {
109
- "prefWidth": 75.6103515625,
110
- "paddingRight": 10.0,
111
- "prefHeight": 30.0
112
- },
113
- "args": {
114
- "radiusBottomLeft": 5.0,
115
- "radiusTopLeft": 5.0,
116
- "radiusTopRight": 5.0,
117
- "radiusBottomRight": 5.0
118
- }
133
+ ]
119
134
  },
120
135
  {
121
- "nodeType": "mergeNode",
122
- "id": "activityNode1",
123
- "type": "activityNode:merge",
136
+ "cssClasses": ["forkOrJoin"],
137
+ "type": "activityNode:fork",
138
+ "id": "fork_1",
124
139
  "position": {
125
- "x": 500.0,
126
- "y": 90.0
140
+ "x": 170,
141
+ "y": 90
127
142
  },
143
+ "nodeType": "forkNode",
128
144
  "size": {
129
- "width": 32.0,
130
- "height": 32.0
145
+ "width": 10,
146
+ "height": 50
131
147
  },
132
- "layoutOptions": {
133
- "minHeight": 32.0,
134
- "resizeContainer": false
135
- }
148
+ "children": []
136
149
  },
137
150
  {
138
- "nodeType": "decisionNode",
139
- "id": "activityNode2",
140
- "type": "activityNode:decision",
141
- "position": {
142
- "x": 330.0,
143
- "y": 190.0
144
- },
145
- "size": {
146
- "width": 32.0,
147
- "height": 32.0
148
- },
149
- "layoutOptions": {
150
- "minWidth": 32.0,
151
- "minHeight": 32.0
152
- }
151
+ "cssClasses": [],
152
+ "type": "edge",
153
+ "routingPoints": [],
154
+ "id": "edge_task_Push_fork_1",
155
+ "sourceId": "task_Push",
156
+ "targetId": "fork_1",
157
+ "children": []
153
158
  },
154
159
  {
155
- "nodeType": "mergeNode",
156
- "id": "activityNode4",
157
- "type": "activityNode:merge",
158
- "position": {
159
- "x": 500.0,
160
- "y": 190.0
161
- },
162
- "size": {
163
- "width": 32.0,
164
- "height": 32.0
165
- },
166
- "layoutOptions": {
167
- "minHeight": 32.0,
168
- "resizeContainer": false
169
- }
160
+ "cssClasses": [],
161
+ "type": "edge",
162
+ "routingPoints": [],
163
+ "id": "edge_fork1_task_ChkTp",
164
+ "sourceId": "fork_1",
165
+ "targetId": "task_ChkTp",
166
+ "children": []
170
167
  },
171
168
  {
172
- "nodeType": "decisionNode",
173
- "id": "b00fc494-0fa4-4448-8bf9-162c2c0865e4",
174
- "type": "activityNode:decision",
175
- "position": {
176
- "x": 330.0,
177
- "y": 90.0
169
+ "cssClasses": ["task", "automated"],
170
+ "type": "task:automated",
171
+ "id": "task_ChkWt",
172
+ "layout": "hbox",
173
+ "args": {
174
+ "radiusTopLeft": 5,
175
+ "radiusBottomLeft": 5,
176
+ "radiusBottomRight": 5,
177
+ "radiusTopRight": 5
178
178
  },
179
- "size": {
180
- "width": 32.0,
181
- "height": 32.0
179
+ "position": {
180
+ "x": 220,
181
+ "y": 50
182
182
  },
183
+ "name": "ChkWt",
184
+ "taskType": "automated",
183
185
  "layoutOptions": {
184
- "minWidth": 32.0,
185
- "minHeight": 32.0
186
- }
187
- },
188
- {
189
- "nodeType": "forkNode",
190
- "id": "bb2709f5-0ff0-4438-8853-b7e934b506d7",
191
- "cssClasses": ["forkOrJoin"],
192
- "type": "activityNode:fork",
193
- "position": {
194
- "x": 170.0,
195
- "y": 130.0
186
+ "paddingRight": 10,
187
+ "prefWidth": 83.1103515625,
188
+ "prefHeight": 30
196
189
  },
197
190
  "size": {
198
- "width": 10.0,
199
- "height": 50.0
200
- }
201
- },
202
- {
203
- "id": "d34c37e0-e45e-4cfe-a76f-0e9274ed8e60",
204
- "type": "edge",
205
- "sourceId": "task0",
206
- "targetId": "bb2709f5-0ff0-4438-8853-b7e934b506d7"
207
- },
208
- {
209
- "nodeType": "joinNode",
210
- "id": "bd94e44e-19f9-446e-89d4-97ca1a63c17b",
211
- "cssClasses": ["forkOrJoin"],
212
- "type": "activityNode:join",
213
- "position": {
214
- "x": 560.0,
215
- "y": 130.0
191
+ "width": 83.1103515625,
192
+ "height": 30
216
193
  },
217
- "size": {
218
- "width": 10.0,
219
- "height": 50.0
220
- }
221
- },
222
- {
223
- "id": "7296b4a8-55c6-4c61-bddb-deacae77efa6",
224
- "type": "edge",
225
- "sourceId": "activityNode1",
226
- "targetId": "bd94e44e-19f9-446e-89d4-97ca1a63c17b"
227
- },
228
- {
229
- "id": "0471cae4-c754-4e89-8337-96ed1546dd02",
230
- "type": "edge",
231
- "sourceId": "activityNode4",
232
- "targetId": "bd94e44e-19f9-446e-89d4-97ca1a63c17b"
233
- },
234
- {
235
- "name": "WtOK",
236
- "taskType": "automated",
237
- "id": "e47d5eba-612d-4c43-9aba-2c5502ff4f04",
238
- "cssClasses": ["task", "automated"],
239
194
  "children": [
240
195
  {
241
- "id": "e47d5eba-612d-4c43-9aba-2c5502ff4f04_icon",
196
+ "cssClasses": [],
242
197
  "type": "icon",
198
+ "id": "task_ChkWt_icon",
243
199
  "position": {
244
- "x": 5.0,
245
- "y": 5.0
200
+ "x": 5,
201
+ "y": 5
246
202
  },
247
203
  "size": {
248
- "width": 25.0,
249
- "height": 20.0
250
- }
204
+ "width": 25,
205
+ "height": 20
206
+ },
207
+ "children": []
251
208
  },
252
209
  {
253
- "id": "e47d5eba-612d-4c43-9aba-2c5502ff4f04_classname",
210
+ "cssClasses": [],
254
211
  "type": "label:heading",
212
+ "alignment": {
213
+ "x": 21,
214
+ "y": 13
215
+ },
216
+ "id": "task_ChkWt_label",
217
+ "text": "ChkWt",
255
218
  "position": {
256
- "x": 31.0,
257
- "y": 7.0
219
+ "x": 31,
220
+ "y": 7
258
221
  },
259
222
  "size": {
260
- "width": 37.9931640625,
261
- "height": 16.0
223
+ "width": 42.1103515625,
224
+ "height": 16
262
225
  },
263
- "text": "WtOK",
264
- "alignment": {
265
- "x": 18.671875,
266
- "y": 13.0
267
- }
226
+ "children": []
268
227
  }
269
- ],
270
- "type": "task:automated",
228
+ ]
229
+ },
230
+ {
231
+ "cssClasses": ["decision"],
232
+ "type": "activityNode:decision",
233
+ "id": "decision_1",
271
234
  "position": {
272
- "x": 390.0,
273
- "y": 120.0
235
+ "x": 330,
236
+ "y": 50
274
237
  },
238
+ "nodeType": "decisionNode",
275
239
  "size": {
276
- "width": 78.9931640625,
277
- "height": 30.0
240
+ "width": 32,
241
+ "height": 32
278
242
  },
279
- "layout": "hbox",
280
- "layoutOptions": {
281
- "prefWidth": 71.4931640625,
282
- "paddingRight": 10.0,
283
- "prefHeight": 30.0
243
+ "resizeLocations": ["top", "right", "bottom", "left"],
244
+ "children": []
245
+ },
246
+ {
247
+ "cssClasses": ["decision"],
248
+ "type": "activityNode:decision",
249
+ "id": "decision2",
250
+ "position": {
251
+ "x": 330,
252
+ "y": 150
284
253
  },
285
- "args": {
286
- "radiusBottomLeft": 5.0,
287
- "radiusTopLeft": 5.0,
288
- "radiusTopRight": 5.0,
289
- "radiusBottomRight": 5.0
290
- }
254
+ "nodeType": "decisionNode",
255
+ "size": {
256
+ "width": 32,
257
+ "height": 32
258
+ },
259
+ "resizeLocations": ["top", "right", "bottom", "left"],
260
+ "children": []
291
261
  },
292
262
  {
293
- "id": "2317f24a-034e-4352-8857-d361dc8f5ed7",
294
- "cssClasses": ["medium"],
295
- "type": "edge:weighted",
296
- "sourceId": "b00fc494-0fa4-4448-8bf9-162c2c0865e4",
297
- "targetId": "e47d5eba-612d-4c43-9aba-2c5502ff4f04"
263
+ "cssClasses": [],
264
+ "type": "edge",
265
+ "routingPoints": [],
266
+ "id": "edge_task_ChkWt_decision1",
267
+ "sourceId": "task_ChkWt",
268
+ "targetId": "decision_1",
269
+ "children": []
298
270
  },
299
271
  {
300
- "id": "0a57ab51-c0b6-4a51-b42e-0192bf3767dc",
272
+ "cssClasses": [],
301
273
  "type": "edge",
302
- "sourceId": "bb2709f5-0ff0-4438-8853-b7e934b506d7",
303
- "targetId": "task0_automated",
304
- "args": {
305
- "edgePadding": 10.0
306
- }
274
+ "routingPoints": [],
275
+ "id": "edge_fork1_task_ChkWt",
276
+ "sourceId": "fork_1",
277
+ "targetId": "task_ChkWt",
278
+ "children": []
307
279
  },
308
280
  {
309
- "id": "7a5d6bc3-c61e-4baa-8556-6015f33269c7",
281
+ "cssClasses": [],
310
282
  "type": "edge",
311
- "sourceId": "task0_automated",
312
- "targetId": "b00fc494-0fa4-4448-8bf9-162c2c0865e4",
313
- "args": {
314
- "edgePadding": 10.0
315
- }
283
+ "routingPoints": [],
284
+ "id": "edge_task_ChkTp_decision2",
285
+ "sourceId": "task_ChkTp",
286
+ "targetId": "decision2",
287
+ "children": []
316
288
  },
317
289
  {
318
- "name": "RflWt",
319
- "taskType": "manual",
320
- "id": "a63cfd87-da7c-4846-912b-29040b776bfb",
321
- "cssClasses": ["task", "manual"],
290
+ "cssClasses": ["task", "automated"],
291
+ "type": "task:automated",
292
+ "id": "task_PreHeat",
293
+ "layout": "hbox",
294
+ "args": {
295
+ "radiusTopLeft": 5,
296
+ "radiusBottomLeft": 5,
297
+ "radiusBottomRight": 5,
298
+ "radiusTopRight": 5
299
+ },
300
+ "position": {
301
+ "x": 390,
302
+ "y": 180
303
+ },
304
+ "name": "PreHeat",
305
+ "taskType": "automated",
306
+ "layoutOptions": {
307
+ "paddingRight": 10,
308
+ "prefWidth": 92.46875,
309
+ "prefHeight": 30
310
+ },
311
+ "size": {
312
+ "width": 92.46875,
313
+ "height": 30
314
+ },
322
315
  "children": [
323
316
  {
324
- "id": "54f08126-6041-44ce-9d8b-e7a549e48f91",
317
+ "cssClasses": [],
325
318
  "type": "icon",
319
+ "id": "task_PreHeat_icon",
326
320
  "position": {
327
- "x": 5.0,
328
- "y": 5.0
321
+ "x": 5,
322
+ "y": 5
329
323
  },
330
324
  "size": {
331
- "width": 25.0,
332
- "height": 20.0
333
- }
325
+ "width": 25,
326
+ "height": 20
327
+ },
328
+ "children": []
334
329
  },
335
330
  {
336
- "id": "6e007d62-d441-4b08-8815-ad59de3b2ca8",
331
+ "cssClasses": [],
337
332
  "type": "label:heading",
333
+ "alignment": {
334
+ "x": 25.6796875,
335
+ "y": 13
336
+ },
337
+ "id": "task_PreHeat_label",
338
+ "text": "PreHeat",
338
339
  "position": {
339
- "x": 31.0,
340
- "y": 7.0
340
+ "x": 31,
341
+ "y": 7
341
342
  },
342
343
  "size": {
343
- "width": 34.32421875,
344
- "height": 16.0
344
+ "width": 51.46875,
345
+ "height": 16
345
346
  },
346
- "text": "RflWt",
347
- "alignment": {
348
- "x": 17.109375,
349
- "y": 13.0
350
- }
347
+ "children": []
351
348
  }
352
- ],
353
- "type": "task:manual",
354
- "position": {
355
- "x": 390.0,
356
- "y": 70.0
357
- },
358
- "size": {
359
- "width": 75.32421875,
360
- "height": 30.0
361
- },
362
- "layout": "hbox",
363
- "layoutOptions": {
364
- "prefWidth": 67.82421875,
365
- "paddingRight": 10.0,
366
- "prefHeight": 30.0
367
- },
368
- "args": {
369
- "radiusBottomLeft": 5.0,
370
- "radiusTopLeft": 5.0,
371
- "radiusTopRight": 5.0,
372
- "radiusBottomRight": 5.0
373
- }
349
+ ]
374
350
  },
375
351
  {
376
- "id": "9bb443d7-44f3-4192-8dd8-1a2782593373",
377
- "cssClasses": ["medium"],
378
- "type": "edge:weighted",
379
- "sourceId": "b00fc494-0fa4-4448-8bf9-162c2c0865e4",
380
- "targetId": "a63cfd87-da7c-4846-912b-29040b776bfb"
381
- },
382
- {
383
- "id": "a36985a7-3e61-499c-9bdb-5be2b00cb75c",
384
- "type": "edge",
385
- "sourceId": "a63cfd87-da7c-4846-912b-29040b776bfb",
386
- "targetId": "activityNode1",
387
- "args": {
388
- "edgePadding": 10.0
389
- }
390
- },
391
- {
392
- "id": "8880cd08-8d90-4408-acd4-6eae218b1650",
393
- "type": "edge",
394
- "sourceId": "e47d5eba-612d-4c43-9aba-2c5502ff4f04",
395
- "targetId": "activityNode1",
352
+ "cssClasses": ["task", "automated"],
353
+ "type": "task:automated",
354
+ "id": "task_KeepTp",
355
+ "layout": "hbox",
396
356
  "args": {
397
- "edgePadding": 10.0
398
- }
399
- },
400
- {
401
- "name": "Brew",
357
+ "radiusTopLeft": 5,
358
+ "radiusBottomLeft": 5,
359
+ "radiusBottomRight": 5,
360
+ "radiusTopRight": 5
361
+ },
362
+ "position": {
363
+ "x": 390,
364
+ "y": 130
365
+ },
366
+ "name": "KeepTp",
402
367
  "taskType": "automated",
403
- "id": "7afd430b-5031-4082-8190-7e755c57cde9",
404
- "cssClasses": ["task", "automated"],
368
+ "layoutOptions": {
369
+ "paddingRight": 10,
370
+ "prefWidth": 90.248046875,
371
+ "prefHeight": 30
372
+ },
373
+ "size": {
374
+ "width": 90.248046875,
375
+ "height": 30
376
+ },
405
377
  "children": [
406
378
  {
407
- "id": "7afd430b-5031-4082-8190-7e755c57cde9_icon",
379
+ "cssClasses": [],
408
380
  "type": "icon",
381
+ "id": "task_KeepTp_icon",
409
382
  "position": {
410
- "x": 5.0,
411
- "y": 5.0
383
+ "x": 5,
384
+ "y": 5
412
385
  },
413
386
  "size": {
414
- "width": 25.0,
415
- "height": 20.0
416
- }
387
+ "width": 25,
388
+ "height": 20
389
+ },
390
+ "children": []
417
391
  },
418
392
  {
419
- "id": "7afd430b-5031-4082-8190-7e755c57cde9_classname",
393
+ "cssClasses": [],
420
394
  "type": "label:heading",
395
+ "alignment": {
396
+ "x": 24.5234375,
397
+ "y": 13
398
+ },
399
+ "id": "task_KeepTp_label",
400
+ "text": "KeepTp",
421
401
  "position": {
422
- "x": 31.0,
423
- "y": 7.0
402
+ "x": 31,
403
+ "y": 7
424
404
  },
425
405
  "size": {
426
- "width": 31.90625,
427
- "height": 16.0
406
+ "width": 49.248046875,
407
+ "height": 16
428
408
  },
429
- "text": "Brew",
430
- "alignment": {
431
- "x": 15.953125,
432
- "y": 13.0
433
- }
409
+ "children": []
434
410
  }
435
- ],
436
- "type": "task:automated",
437
- "position": {
438
- "x": 600.0,
439
- "y": 140.0
411
+ ]
412
+ },
413
+ {
414
+ "cssClasses": ["task", "manual"],
415
+ "type": "task:manual",
416
+ "id": "task_RflWt",
417
+ "layout": "hbox",
418
+ "args": {
419
+ "radiusTopLeft": 5,
420
+ "radiusBottomLeft": 5,
421
+ "radiusBottomRight": 5,
422
+ "radiusTopRight": 5
440
423
  },
441
- "size": {
442
- "width": 72.90625,
443
- "height": 30.0
424
+ "position": {
425
+ "x": 390,
426
+ "y": 20
444
427
  },
445
- "layout": "hbox",
428
+ "name": "RflWt",
429
+ "taskType": "manual",
446
430
  "layoutOptions": {
447
- "prefWidth": 72.90625,
448
- "paddingRight": 10.0,
449
- "prefHeight": 30.0
431
+ "paddingRight": 10,
432
+ "prefWidth": 75.32421875,
433
+ "prefHeight": 30
434
+ },
435
+ "size": {
436
+ "width": 75.32421875,
437
+ "height": 30
450
438
  },
451
- "args": {
452
- "radiusBottomLeft": 5.0,
453
- "radiusTopLeft": 5.0,
454
- "radiusTopRight": 5.0,
455
- "radiusBottomRight": 5.0
456
- }
457
- },
458
- {
459
- "id": "81efd1ef-ae19-4ea6-a20b-20857b1c6552",
460
- "type": "edge",
461
- "sourceId": "bd94e44e-19f9-446e-89d4-97ca1a63c17b",
462
- "targetId": "7afd430b-5031-4082-8190-7e755c57cde9",
463
- "args": {
464
- "edgePadding": 10.0
465
- }
466
- },
467
- {
468
- "name": "ChkTp",
469
- "taskType": "automated",
470
- "id": "6c26f0a4-4354-45fa-9d9f-bc2b48adee17",
471
- "cssClasses": ["task", "automated"],
472
439
  "children": [
473
440
  {
474
- "id": "6c26f0a4-4354-45fa-9d9f-bc2b48adee17_icon",
441
+ "cssClasses": [],
475
442
  "type": "icon",
443
+ "id": "task_RflWt_icon",
476
444
  "position": {
477
- "x": 5.0,
478
- "y": 5.0
445
+ "x": 5,
446
+ "y": 5
479
447
  },
480
448
  "size": {
481
- "width": 25.0,
482
- "height": 20.0
483
- }
449
+ "width": 25,
450
+ "height": 20
451
+ },
452
+ "children": []
484
453
  },
485
454
  {
486
- "id": "6c26f0a4-4354-45fa-9d9f-bc2b48adee17_classname",
455
+ "cssClasses": [],
487
456
  "type": "label:heading",
457
+ "alignment": {
458
+ "x": 17.109375,
459
+ "y": 13
460
+ },
461
+ "id": "task_RflWt_label",
462
+ "text": "RflWt",
488
463
  "position": {
489
- "x": 31.0,
490
- "y": 7.0
464
+ "x": 31,
465
+ "y": 7
491
466
  },
492
467
  "size": {
493
- "width": 41.4482421875,
494
- "height": 16.0
468
+ "width": 34.32421875,
469
+ "height": 16
495
470
  },
496
- "text": "ChkTp",
497
- "alignment": {
498
- "x": 20.6171875,
499
- "y": 13.0
500
- }
471
+ "children": []
501
472
  }
502
- ],
473
+ ]
474
+ },
475
+ {
476
+ "cssClasses": ["task", "automated"],
503
477
  "type": "task:automated",
504
- "position": {
505
- "x": 220.0,
506
- "y": 190.0
478
+ "id": "task_WtOK",
479
+ "layout": "hbox",
480
+ "args": {
481
+ "radiusTopLeft": 5,
482
+ "radiusBottomLeft": 5,
483
+ "radiusBottomRight": 5,
484
+ "radiusTopRight": 5
507
485
  },
508
- "size": {
509
- "width": 82.4482421875,
510
- "height": 30.0
486
+ "position": {
487
+ "x": 390,
488
+ "y": 80
511
489
  },
512
- "layout": "hbox",
490
+ "name": "WtOK",
491
+ "taskType": "automated",
513
492
  "layoutOptions": {
514
- "prefWidth": 74.9482421875,
515
- "paddingRight": 10.0,
516
- "prefHeight": 30.0
493
+ "paddingRight": 10,
494
+ "prefWidth": 78.9931640625,
495
+ "prefHeight": 30
496
+ },
497
+ "size": {
498
+ "width": 78.9931640625,
499
+ "height": 30
517
500
  },
518
- "args": {
519
- "radiusBottomLeft": 5.0,
520
- "radiusTopLeft": 5.0,
521
- "radiusTopRight": 5.0,
522
- "radiusBottomRight": 5.0
523
- }
524
- },
525
- {
526
- "id": "189aecf6-6043-4915-9f3e-7b2da8fd0d9c",
527
- "type": "edge",
528
- "sourceId": "bb2709f5-0ff0-4438-8853-b7e934b506d7",
529
- "targetId": "6c26f0a4-4354-45fa-9d9f-bc2b48adee17",
530
- "args": {
531
- "edgePadding": 10.0
532
- }
533
- },
534
- {
535
- "id": "69e45ef0-9c74-41da-a3ab-0a5669f83f96",
536
- "type": "edge",
537
- "sourceId": "6c26f0a4-4354-45fa-9d9f-bc2b48adee17",
538
- "targetId": "activityNode2",
539
- "args": {
540
- "edgePadding": 10.0
541
- }
542
- },
543
- {
544
- "name": "KeepTp",
545
- "taskType": "automated",
546
- "id": "4b06ed95-c9be-47df-9941-98099259be4a",
547
- "cssClasses": ["task", "automated"],
548
501
  "children": [
549
502
  {
550
- "id": "4b06ed95-c9be-47df-9941-98099259be4a_icon",
503
+ "cssClasses": [],
551
504
  "type": "icon",
505
+ "id": "task_WtOK_icon",
552
506
  "position": {
553
- "x": 5.0,
554
- "y": 5.0
507
+ "x": 5,
508
+ "y": 5
555
509
  },
556
510
  "size": {
557
- "width": 25.0,
558
- "height": 20.0
559
- }
511
+ "width": 25,
512
+ "height": 20
513
+ },
514
+ "children": []
560
515
  },
561
516
  {
562
- "id": "4b06ed95-c9be-47df-9941-98099259be4a_classname",
517
+ "cssClasses": [],
563
518
  "type": "label:heading",
519
+ "alignment": {
520
+ "x": 18.671875,
521
+ "y": 13
522
+ },
523
+ "id": "task_WtOK_label",
524
+ "text": "WtOK",
564
525
  "position": {
565
- "x": 31.0,
566
- "y": 7.0
526
+ "x": 31,
527
+ "y": 7
567
528
  },
568
529
  "size": {
569
- "width": 49.248046875,
570
- "height": 16.0
530
+ "width": 37.9931640625,
531
+ "height": 16
571
532
  },
572
- "text": "KeepTp",
573
- "alignment": {
574
- "x": 24.5234375,
575
- "y": 13.0
576
- }
533
+ "children": []
577
534
  }
578
- ],
579
- "type": "task:automated",
535
+ ]
536
+ },
537
+ {
538
+ "cssClasses": ["medium"],
539
+ "type": "edge:weighted",
540
+ "routingPoints": [],
541
+ "id": "edge_decision1_task_RflWt",
542
+ "sourceId": "decision_1",
543
+ "targetId": "task_RflWt",
544
+ "probability": "medium",
545
+ "children": []
546
+ },
547
+ {
548
+ "cssClasses": ["medium"],
549
+ "type": "edge:weighted",
550
+ "routingPoints": [],
551
+ "id": "edge_decision_1_task_WtOK",
552
+ "sourceId": "decision_1",
553
+ "targetId": "task_WtOK",
554
+ "probability": "medium",
555
+ "children": []
556
+ },
557
+ {
558
+ "cssClasses": ["medium"],
559
+ "type": "edge:weighted",
560
+ "routingPoints": [],
561
+ "id": "edege_decision_2_task_KeepTp",
562
+ "sourceId": "decision2",
563
+ "targetId": "task_KeepTp",
564
+ "probability": "medium",
565
+ "children": []
566
+ },
567
+ {
568
+ "cssClasses": ["medium"],
569
+ "type": "edge:weighted",
570
+ "routingPoints": [],
571
+ "id": "edege_decision2_task_PreHeat",
572
+ "sourceId": "decision2",
573
+ "targetId": "task_PreHeat",
574
+ "probability": "medium",
575
+ "children": []
576
+ },
577
+ {
578
+ "cssClasses": ["forkOrJoin"],
579
+ "type": "activityNode:join",
580
+ "id": "join_1",
580
581
  "position": {
581
- "x": 390.0,
582
- "y": 170.0
582
+ "x": 560,
583
+ "y": 90
583
584
  },
585
+ "nodeType": "joinNode",
584
586
  "size": {
585
- "width": 90.248046875,
586
- "height": 30.0
587
- },
588
- "layout": "hbox",
589
- "layoutOptions": {
590
- "prefWidth": 82.748046875,
591
- "paddingRight": 10.0,
592
- "prefHeight": 30.0
587
+ "width": 10,
588
+ "height": 50
593
589
  },
594
- "args": {
595
- "radiusBottomLeft": 5.0,
596
- "radiusTopLeft": 5.0,
597
- "radiusTopRight": 5.0,
598
- "radiusBottomRight": 5.0
599
- }
590
+ "children": []
600
591
  },
601
592
  {
602
- "name": "PreHeat",
603
- "taskType": "automated",
604
- "id": "80d1792f-9c7e-41c0-8eca-eeb0509397b6",
605
593
  "cssClasses": ["task", "automated"],
594
+ "type": "task:automated",
595
+ "id": "task_Brew",
596
+ "layout": "hbox",
597
+ "args": {
598
+ "radiusTopLeft": 5,
599
+ "radiusBottomLeft": 5,
600
+ "radiusBottomRight": 5,
601
+ "radiusTopRight": 5
602
+ },
603
+ "position": {
604
+ "x": 600,
605
+ "y": 100
606
+ },
607
+ "name": "Brew",
608
+ "taskType": "automated",
609
+ "layoutOptions": {
610
+ "paddingRight": 10,
611
+ "prefWidth": 73.20530319213867,
612
+ "prefHeight": 30
613
+ },
614
+ "size": {
615
+ "width": 73.20530319213867,
616
+ "height": 30
617
+ },
606
618
  "children": [
607
619
  {
608
- "id": "80d1792f-9c7e-41c0-8eca-eeb0509397b6_icon",
620
+ "cssClasses": [],
609
621
  "type": "icon",
622
+ "id": "task_Brew_icon",
610
623
  "position": {
611
- "x": 5.0,
612
- "y": 5.0
624
+ "x": 5,
625
+ "y": 5
613
626
  },
614
627
  "size": {
615
- "width": 25.0,
616
- "height": 20.0
617
- }
628
+ "width": 25,
629
+ "height": 20
630
+ },
631
+ "children": []
618
632
  },
619
633
  {
620
- "id": "80d1792f-9c7e-41c0-8eca-eeb0509397b6_classname",
634
+ "cssClasses": [],
621
635
  "type": "label:heading",
636
+ "alignment": {
637
+ "x": 15.953125,
638
+ "y": 13
639
+ },
640
+ "id": "task_Brew_label",
641
+ "text": "Brew",
622
642
  "position": {
623
- "x": 31.0,
624
- "y": 7.0
643
+ "x": 31,
644
+ "y": 7
625
645
  },
626
646
  "size": {
627
- "width": 51.46875,
628
- "height": 16.0
647
+ "width": 31.90625,
648
+ "height": 16
629
649
  },
630
- "text": "PreHeat",
631
- "alignment": {
632
- "x": 25.6796875,
633
- "y": 13.0
634
- }
650
+ "children": []
635
651
  }
636
- ],
637
- "type": "task:automated",
652
+ ]
653
+ },
654
+ {
655
+ "cssClasses": ["merge"],
656
+ "type": "activityNode:merge",
657
+ "id": "merge_1",
638
658
  "position": {
639
- "x": 390.0,
640
- "y": 220.0
659
+ "x": 500,
660
+ "y": 50
641
661
  },
662
+ "nodeType": "mergeNode",
642
663
  "size": {
643
- "width": 92.46875,
644
- "height": 30.0
664
+ "width": 32,
665
+ "height": 32
645
666
  },
646
- "layout": "hbox",
647
- "layoutOptions": {
648
- "prefWidth": 84.96875,
649
- "paddingRight": 10.0,
650
- "prefHeight": 30.0
667
+ "resizeLocations": ["top", "right", "bottom", "left"],
668
+ "children": []
669
+ },
670
+ {
671
+ "cssClasses": ["merge"],
672
+ "type": "activityNode:merge",
673
+ "id": "merge_2",
674
+ "position": {
675
+ "x": 500,
676
+ "y": 150
651
677
  },
652
- "args": {
653
- "radiusBottomLeft": 5.0,
654
- "radiusTopLeft": 5.0,
655
- "radiusTopRight": 5.0,
656
- "radiusBottomRight": 5.0
657
- }
678
+ "nodeType": "mergeNode",
679
+ "size": {
680
+ "width": 32,
681
+ "height": 32
682
+ },
683
+ "resizeLocations": ["top", "right", "bottom", "left"],
684
+ "children": []
658
685
  },
659
686
  {
660
- "id": "d04afaf8-0894-4284-b844-22b255893107",
661
- "cssClasses": ["medium"],
662
- "type": "edge:weighted",
663
- "sourceId": "activityNode2",
664
- "targetId": "4b06ed95-c9be-47df-9941-98099259be4a"
687
+ "cssClasses": [],
688
+ "type": "edge",
689
+ "routingPoints": [],
690
+ "id": "edge_task_RflWt_merge_1",
691
+ "sourceId": "task_RflWt",
692
+ "targetId": "merge_1",
693
+ "children": []
665
694
  },
666
695
  {
667
- "id": "b9ef468f-2aaf-41b9-b408-29e2d08e490e",
668
- "cssClasses": ["medium"],
669
- "type": "edge:weighted",
670
- "sourceId": "activityNode2",
671
- "targetId": "80d1792f-9c7e-41c0-8eca-eeb0509397b6"
696
+ "cssClasses": [],
697
+ "type": "edge",
698
+ "routingPoints": [],
699
+ "id": "edge_task_WTOK_merge_1",
700
+ "sourceId": "task_WtOK",
701
+ "targetId": "merge_1",
702
+ "children": []
672
703
  },
673
704
  {
674
- "id": "58657bcf-6d32-4e7d-b73a-f84fd8d7158b",
705
+ "cssClasses": [],
675
706
  "type": "edge",
676
- "sourceId": "4b06ed95-c9be-47df-9941-98099259be4a",
677
- "targetId": "activityNode4",
678
- "args": {
679
- "edgePadding": 10.0
680
- }
707
+ "routingPoints": [],
708
+ "id": "edge_task_KeepTp_merge_2",
709
+ "sourceId": "task_KeepTp",
710
+ "targetId": "merge_2",
711
+ "children": []
681
712
  },
682
713
  {
683
- "id": "39a75477-facf-4960-b0bb-1989be7fb57f",
714
+ "cssClasses": [],
684
715
  "type": "edge",
685
- "sourceId": "80d1792f-9c7e-41c0-8eca-eeb0509397b6",
686
- "targetId": "activityNode4",
687
- "args": {
688
- "edgePadding": 10.0
689
- }
716
+ "routingPoints": [],
717
+ "id": "edege_task_PreHeat_merge_2",
718
+ "sourceId": "task_PreHeat",
719
+ "targetId": "merge_2",
720
+ "children": []
721
+ },
722
+ {
723
+ "cssClasses": [],
724
+ "type": "edge",
725
+ "routingPoints": [],
726
+ "id": "edge_merge_2_join_1",
727
+ "sourceId": "merge_2",
728
+ "targetId": "join_1",
729
+ "children": []
730
+ },
731
+ {
732
+ "cssClasses": [],
733
+ "type": "edge",
734
+ "routingPoints": [],
735
+ "id": "edge_merge_1_join_1",
736
+ "sourceId": "merge_1",
737
+ "targetId": "join_1",
738
+ "children": []
739
+ },
740
+ {
741
+ "cssClasses": [],
742
+ "type": "edge",
743
+ "routingPoints": [],
744
+ "id": "edge_join_1_task_Brew",
745
+ "sourceId": "join_1",
746
+ "targetId": "task_Brew",
747
+ "children": []
690
748
  }
691
- ],
692
- "type": "graph",
693
- "revision": 10
749
+ ]
694
750
  }