Skip to content

Commit ccdbb6f

Browse files
committed
compositions with thumbs explicitly defined as nodes instead of via definition
1 parent 2f49d68 commit ccdbb6f

File tree

14 files changed

+986
-656
lines changed

14 files changed

+986
-656
lines changed

examples-test-flows/simple-composition-with-setvariable.json

Lines changed: 112 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"nodes": [
99
{
1010
"id": "6be80048-6e33-41b3-9e7e-0a3235e2839a",
11-
"x": 4612.06856913936,
12-
"y": -812.6486298792398,
11+
"x": 4612.06863132962,
12+
"y": -812.648574722997,
1313
"width": 200,
1414
"height": 100,
1515
"nodeType": "Shape",
@@ -46,8 +46,8 @@
4646
"id": "4eaff148-c558-4164-b9f5-8480145357cd",
4747
"x": 5797.423308802282,
4848
"y": -804.0636455698171,
49-
"width": 120.00005937127604,
50-
"height": 55.99998363947418,
49+
"width": 119.99963607693195,
50+
"height": 55.999978899541816,
5151
"nodeType": "Shape",
5252
"nodeInfo": {
5353
"type": "show-input",
@@ -63,8 +63,8 @@
6363
"id": "9f7b6666-60ee-4bb4-82a9-97980a933b6d",
6464
"x": 4524.61276449378,
6565
"y": -1060.9154295620374,
66-
"width": 174.4220728419782,
67-
"height": 84.00001218181235,
66+
"width": 174.42233007176137,
67+
"height": 84.00003396562458,
6868
"nodeType": "Shape",
6969
"nodeInfo": {
7070
"type": "scope-variable",
@@ -82,8 +82,8 @@
8282
},
8383
{
8484
"id": "d1982fff-8b06-49ec-9cb6-4b5099eafe79",
85-
"x": 5423.218823011143,
86-
"y": -829.2004895544958,
85+
"x": 5464.395776112563,
86+
"y": -830.6906924491258,
8787
"width": 200,
8888
"height": 100,
8989
"nodeType": "Shape",
@@ -116,6 +116,24 @@
116116
"keepPopupOpenAfterUpdate": false
117117
}
118118
},
119+
{
120+
"id": "448c042d-20a3-4bff-a8e0-09ffe081020c",
121+
"x": 5001.952283746766,
122+
"y": -816.2550250138434,
123+
"width": 200,
124+
"height": 112.6484375,
125+
"nodeType": "Shape",
126+
"nodeInfo": {
127+
"type": "composition-12b2a34f-0388-4931-b282-31d61905cff4",
128+
"formValues": {},
129+
"nodeCannotBeReplaced": false,
130+
"showFormOnlyInPopup": false,
131+
"useInCompositionOnly": false,
132+
"keepPopupOpenAfterUpdate": false,
133+
"isComposition": true,
134+
"compositionId": "12b2a34f-0388-4931-b282-31d61905cff4"
135+
}
136+
},
119137
{
120138
"id": "5dee0968-b892-48e8-9410-e23c8e0e6454",
121139
"x": 3975.2050254366177,
@@ -133,8 +151,8 @@
133151
},
134152
{
135153
"id": "a28c34e5-e787-4f31-99bd-0a31f8b23ed0",
136-
"x": 5623.218823011143,
137-
"y": -779.2004895544958,
154+
"x": 5664.395776112563,
155+
"y": -780.6906924491258,
138156
"endX": 5797.423308802282,
139157
"endY": -774.0636455698171,
140158
"startNodeId": "d1982fff-8b06-49ec-9cb6-4b5099eafe79",
@@ -150,8 +168,8 @@
150168
"id": "53259034-9cc8-4b32-9baf-220fcb012f76",
151169
"x": 4427.680998224009,
152170
"y": -765.743349708836,
153-
"endX": 4612.06856913936,
154-
"endY": -762.6486298792398,
171+
"endX": 4612.06863132962,
172+
"endY": -762.648574722997,
155173
"startNodeId": "83bf243d-d7bd-4438-bf5e-f77d90e8defb",
156174
"endNodeId": "6be80048-6e33-41b3-9e7e-0a3235e2839a",
157175
"startThumbName": "output",
@@ -162,55 +180,34 @@
162180
"nodeInfo": {}
163181
},
164182
{
165-
"id": "21e1c107-2bc2-4cb3-9f8c-07a62a5c2d0d",
166-
"x": 4812.06856913936,
167-
"y": -762.6486298792398,
168-
"endX": 5001.952649539493,
169-
"endY": -756.973810710283,
183+
"id": "305d1f81-c516-4101-9aee-e2cdd786b2fa",
184+
"x": 4812.06863132962,
185+
"y": -762.648574722997,
186+
"endX": 5001.952283746766,
187+
"endY": -757.6065843125635,
170188
"startNodeId": "6be80048-6e33-41b3-9e7e-0a3235e2839a",
171189
"endNodeId": "448c042d-20a3-4bff-a8e0-09ffe081020c",
172190
"startThumbName": "output",
173-
"endThumbName": "input_0",
174-
"endThumbIdentifierWithinNode": "159dde58-dca4-475a-a796-d474156a6f77",
191+
"endThumbName": "cf1c07f1-589d-488b-8875-d66bc5d92e7f",
175192
"lineType": "BezierCubic",
176193
"nodeType": "Connection",
177194
"layer": 1,
178195
"nodeInfo": {}
179196
},
180197
{
181-
"id": "aa77a84d-f295-4b6a-8c47-d017a84bd022",
182-
"x": 5201.95274849162,
183-
"y": -756.973810710283,
184-
"endX": 5423.218823011143,
185-
"endY": -779.2004895544958,
198+
"id": "85d8e332-22aa-4ee4-b6f1-3f3f8e24dda3",
199+
"x": 5201.952283746766,
200+
"y": -757.6065386942286,
201+
"endX": 5464.395776112563,
202+
"endY": -780.6906924491258,
186203
"startNodeId": "448c042d-20a3-4bff-a8e0-09ffe081020c",
187204
"endNodeId": "d1982fff-8b06-49ec-9cb6-4b5099eafe79",
188-
"startThumbName": "output_0",
205+
"startThumbName": "4464c12b-1b26-4c17-8257-bd4ed1478d90",
189206
"endThumbName": "input",
190-
"startThumbIdentifierWithinNode": "9b9a1952-4b6c-4ac6-8ed8-701cfbd5af87",
191207
"lineType": "BezierCubic",
192208
"nodeType": "Connection",
193209
"layer": 1,
194210
"nodeInfo": {}
195-
},
196-
{
197-
"id": "448c042d-20a3-4bff-a8e0-09ffe081020c",
198-
"x": 5001.952649539493,
199-
"y": -816.2550908045984,
200-
"width": 200.00009895212673,
201-
"height": 113.28123138714477,
202-
"nodeType": "Shape",
203-
"nodeInfo": {
204-
"type": "composition-12b2a34f-0388-4931-b282-31d61905cff4",
205-
"formValues": {},
206-
"nodeCannotBeReplaced": false,
207-
"showFormOnlyInPopup": false,
208-
"useInCompositionOnly": false,
209-
"keepPopupOpenAfterUpdate": false,
210-
"isComposition": true,
211-
"compositionId": "12b2a34f-0388-4931-b282-31d61905cff4",
212-
"taskType": "composition-12b2a34f-0388-4931-b282-31d61905cff4"
213-
}
214211
}
215212
]
216213
}
@@ -377,6 +374,76 @@
377374
"useInCompositionOnly": false,
378375
"keepPopupOpenAfterUpdate": false
379376
}
377+
},
378+
{
379+
"id": "cf1c07f1-589d-488b-8875-d66bc5d92e7f",
380+
"x": 4573.841667025555,
381+
"y": -849.0030107851933,
382+
"width": 199.9999213129621,
383+
"height": 196.99995607257276,
384+
"nodeType": "Shape",
385+
"nodeInfo": {
386+
"type": "thumb-input",
387+
"formValues": {
388+
"valueType": "value",
389+
"thumbName": "input"
390+
},
391+
"nodeCannotBeReplaced": false,
392+
"showFormOnlyInPopup": false,
393+
"useInCompositionOnly": false,
394+
"keepPopupOpenAfterUpdate": false,
395+
"taskType": "thumb-input"
396+
}
397+
},
398+
{
399+
"id": "a2e15ac4-bfee-4651-aa9f-fe35b1f84df0",
400+
"x": 4773.841588338517,
401+
"y": -750.5030327489069,
402+
"endX": 5008.938895855947,
403+
"endY": -768.4042767905336,
404+
"startNodeId": "cf1c07f1-589d-488b-8875-d66bc5d92e7f",
405+
"endNodeId": "8a2f58b2-4b16-4a01-94be-326af5916263",
406+
"startThumbName": "output",
407+
"endThumbName": "input",
408+
"lineType": "BezierCubic",
409+
"nodeType": "Connection",
410+
"layer": 1,
411+
"nodeInfo": {}
412+
},
413+
{
414+
"id": "9b6616d4-813e-4e8c-8214-c579582e78c6",
415+
"x": 5208.938895855947,
416+
"y": -768.4042767905336,
417+
"endX": 5404.4854191274,
418+
"endY": -749.7368301193679,
419+
"startNodeId": "8a2f58b2-4b16-4a01-94be-326af5916263",
420+
"endNodeId": "4464c12b-1b26-4c17-8257-bd4ed1478d90",
421+
"startThumbName": "output",
422+
"endThumbName": "input",
423+
"lineType": "BezierCubic",
424+
"nodeType": "Connection",
425+
"layer": 1,
426+
"nodeInfo": {}
427+
},
428+
{
429+
"id": "4464c12b-1b26-4c17-8257-bd4ed1478d90",
430+
"x": 5404.4854191274,
431+
"y": -848.2368398228097,
432+
"width": 199.99991131349026,
433+
"height": 197.0000194068835,
434+
"nodeType": "Shape",
435+
"nodeInfo": {
436+
"type": "thumb-output",
437+
"formValues": {
438+
"valueType": "value",
439+
"thumbName": "output"
440+
},
441+
"nodeCannotBeReplaced": false,
442+
"showFormOnlyInPopup": false,
443+
"useInCompositionOnly": false,
444+
"keepPopupOpenAfterUpdate": false,
445+
"taskType": "thumb-output"
446+
}
380447
}
381448
],
382449
"thumbs": [

0 commit comments

Comments
 (0)