Skip to content

Commit 2a297e5

Browse files
huchenleigithub-actions
andauthored
Fit view on workflow load without extra.ds (#3822)
Co-authored-by: github-actions <[email protected]>
1 parent 2019c1d commit 2a297e5

31 files changed

+138
-34
lines changed

browser_tests/assets/collapsed_multiline.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,11 @@
3333
"links": [],
3434
"groups": [],
3535
"config": {},
36+
"extra": {
37+
"ds": {
38+
"offset": [0, 0],
39+
"scale": 1
40+
}
41+
},
3642
"version": 0.4
3743
}

browser_tests/assets/default.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,11 @@
130130
],
131131
"groups": [],
132132
"config": {},
133-
"extra": {},
133+
"extra": {
134+
"ds": {
135+
"offset": [0, 0],
136+
"scale": 1
137+
}
138+
},
134139
"version": 0.4
135140
}

browser_tests/assets/every_node_color.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,11 @@
499499
],
500500
"groups": [],
501501
"config": {},
502-
"extra": {},
502+
"extra": {
503+
"ds": {
504+
"offset": [0, 0],
505+
"scale": 1
506+
}
507+
},
503508
"version": 0.4
504-
}
509+
}

browser_tests/assets/group_node_identical_nodes_hidden_inputs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,4 +160,4 @@
160160
}
161161
},
162162
"version": 0.4
163-
}
163+
}

browser_tests/assets/group_node_v1.3.3.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@
4343
"groups": [],
4444
"config": {},
4545
"extra": {
46+
"ds": {
47+
"offset": [0, 0],
48+
"scale": 1
49+
},
4650
"groupNodes": {
4751
"group_node": {
4852
"nodes": [
@@ -401,4 +405,4 @@
401405
}
402406
},
403407
"version": 0.4
404-
}
408+
}

browser_tests/assets/legacy_group_node.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,10 @@
110110
"groups": [],
111111
"config": {},
112112
"extra": {
113+
"ds": {
114+
"offset": [0, 0],
115+
"scale": 1
116+
},
113117
"groupNodes": {
114118
"hello": {
115119
"nodes": [
@@ -249,4 +253,4 @@
249253
}
250254
},
251255
"version": 0.4
252-
}
256+
}

browser_tests/assets/missing_models_from_node_properties.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@
4444
"links": [],
4545
"groups": [],
4646
"config": {},
47-
"extra": {},
47+
"extra": {
48+
"ds": {
49+
"offset": [0, 0],
50+
"scale": 1
51+
}
52+
},
4853
"version": 0.4
4954
}

browser_tests/assets/missing_nodes_converted_widget.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@
6161
"links": [],
6262
"groups": [],
6363
"config": {},
64-
"extra": {},
64+
"extra": {
65+
"ds": {
66+
"offset": [0, 0],
67+
"scale": 1
68+
}
69+
},
6570
"version": 0.4
66-
}
71+
}

browser_tests/assets/note_nodes.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@
5050
"links": [],
5151
"groups": [],
5252
"config": {},
53-
"extra": {},
53+
"extra": {
54+
"ds": {
55+
"offset": [0, 0],
56+
"scale": 1
57+
}
58+
},
5459
"version": 0.4
55-
}
60+
}

browser_tests/assets/only_optional_inputs.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,11 @@
3838
"groups": [],
3939
"config": {},
4040
"extra": {
41-
"groupNodes": {}
41+
"groupNodes": {},
42+
"ds": {
43+
"offset": [0, 0],
44+
"scale": 1
45+
}
4246
},
4347
"version": 0.4
44-
}
48+
}

0 commit comments

Comments
 (0)