Skip to content

Commit ab45833

Browse files
committed
node id's are in order, not random, start at 0
1 parent e551e53 commit ab45833

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

Example_Project/test.json

+25-25
Original file line numberDiff line numberDiff line change
@@ -2,63 +2,63 @@
22
"nodes": [
33
{
44
"type": "Scaler_Node",
5-
"x": 4658,
6-
"y": 5076,
7-
"index": "44880"
5+
"x": 4765,
6+
"y": 5098,
7+
"index": "4"
88
},
99
{
1010
"type": "Scaler_Node",
11-
"x": 4643,
12-
"y": 4950,
13-
"index": "15703"
11+
"x": 4752,
12+
"y": 5000,
13+
"index": "3"
1414
},
1515
{
1616
"type": "Print_Node",
17-
"x": 5140,
18-
"y": 4866,
19-
"index": "14585"
17+
"x": 5121,
18+
"y": 4905,
19+
"index": "2"
2020
},
2121
{
2222
"type": "Button_Node",
23-
"x": 4606,
24-
"y": 4838,
25-
"index": "28477"
23+
"x": 4777,
24+
"y": 4894,
25+
"index": "1"
2626
},
2727
{
2828
"type": "Add_Node",
29-
"x": 4903,
30-
"y": 4898,
31-
"index": "76247"
29+
"x": 4971,
30+
"y": 4955,
31+
"index": "0"
3232
}
3333
],
3434
"connections": [
3535
{
36-
"start_id": "44880",
37-
"end_id": "76247",
36+
"start_id": "4",
37+
"end_id": "0",
3838
"start_pin": "value",
3939
"end_pin": "input B"
4040
},
4141
{
42-
"start_id": "15703",
43-
"end_id": "76247",
42+
"start_id": "3",
43+
"end_id": "0",
4444
"start_pin": "value",
4545
"end_pin": "input A"
4646
},
4747
{
48-
"start_id": "76247",
49-
"end_id": "14585",
48+
"start_id": "0",
49+
"end_id": "2",
5050
"start_pin": "output",
5151
"end_pin": "input"
5252
},
5353
{
54-
"start_id": "76247",
55-
"end_id": "14585",
54+
"start_id": "0",
55+
"end_id": "2",
5656
"start_pin": "Ex Out",
5757
"end_pin": "Ex In"
5858
},
5959
{
60-
"start_id": "28477",
61-
"end_id": "76247",
60+
"start_id": "1",
61+
"end_id": "0",
6262
"start_pin": "Ex Out",
6363
"end_pin": "Ex In"
6464
}

0 commit comments

Comments
 (0)