change node IDs

This commit is contained in:
Luzie Ahrens
2026-06-29 18:17:43 +02:00
committed by GitHub
parent fed0fbe5bc
commit 8354cd57a3
+9 -9
View File
@@ -172,13 +172,13 @@ A graph with one trigger and one effect, connected:
{ {
"nodes": [ "nodes": [
{ {
"id": "gc-1-1000000000", "id": "gc-1",
"kind": "trigger", "kind": "trigger",
"label": "On Click", "label": "On Click",
"position": { "x": 120, "y": 200 }, "position": { "x": 120, "y": 200 },
"inputs": [], "inputs": [],
"outputs": [ "outputs": [
{ "id": "gc-1-1000000000-o0", "name": "fired", "dataType": "boolean" } { "id": "gc-1-o0", "name": "fired", "dataType": "boolean" }
], ],
"config": { "config": {
"sourceItemId": null, "sourceItemId": null,
@@ -187,12 +187,12 @@ A graph with one trigger and one effect, connected:
} }
}, },
{ {
"id": "gc-2-2000000000", "id": "gc-2",
"kind": "effect", "kind": "effect",
"label": "Skybox Color", "label": "Skybox Color",
"position": { "x": 480, "y": 200 }, "position": { "x": 480, "y": 200 },
"inputs": [ "inputs": [
{ "id": "gc-2-2000000000-i0", "name": "trigger", "dataType": "boolean" } { "id": "gc-2-i0", "name": "trigger", "dataType": "boolean" }
], ],
"outputs": [], "outputs": [],
"config": { "config": {
@@ -206,11 +206,11 @@ A graph with one trigger and one effect, connected:
], ],
"connections": [ "connections": [
{ {
"id": "conn-9999999999", "id": "conn-9",
"fromNode": "gc-1-1000000000", "fromNode": "gc-1",
"fromPort": "gc-1-1000000000-o0", "fromPort": "gc-1-o0",
"toNode": "gc-2-2000000000", "toNode": "gc-2",
"toPort": "gc-2-2000000000-i0" "toPort": "gc-2-i0"
} }
] ]
} }