graflow, autoplacement 1.0 no layer-ordering

This commit is contained in:
STEINNI
2025-12-24 11:13:13 +00:00
parent 906dd7b317
commit 353b6fbfbf
6 changed files with 292 additions and 61 deletions
+30 -10
View File
@@ -4,27 +4,47 @@
"nodes":[
{ "nodeType": "inc",
"id": "aze",
"coords": { "x": 20, "y": 10}
"coords": { "x": 220, "y": 10}
},
{ "nodeType": "inc",
"id": "aze2",
"coords": { "x": 220, "y": 120}
},
{ "nodeType": "factor",
"id": "qsd2",
"coords": { "x": 470, "y": 170}
},
{ "nodeType": "factor",
"id": "qsd",
"coords": { "x": 270, "y": 50}
},
{ "nodeType": "inc",
"coords": { "x": 470, "y": 50}
},
{ "nodeType": "wadder",
"id": "wcx",
"coords": { "x": 520, "y": 50}
"coords": { "x": 720, "y": 50}
},
{ "nodeType": "inc",
{ "nodeType": "multiplier",
"id": "ert",
"coords": { "x": 150, "y": 350}
"coords": { "x": 550, "y": 350}
},
{ "nodeType": "input",
"id": "0000",
"coords": { "x": 20, "y": 350}
},
{ "nodeType": "console",
"id": "9999",
"coords": { "x": 800, "y": 350}
}
],
"links": [
{ "from": ["0000", "out1"], "to": ["aze", "inp1"] },
{ "from": ["aze2", "out1"], "to": ["qsd2", "inp1"] },
{ "from": ["aze", "out1"], "to": ["qsd", "inp1"] },
{ "from": ["0000", "out1"], "to": ["aze2", "inp1"] },
{ "from": ["qsd2", "out1"], "to": ["wcx", "inp2"] },
{ "from": ["wcx", "out1"], "to": ["ert", "inp1"] },
{ "from": ["qsd2", "out1"], "to": ["ert", "inp2"] },
{ "from": ["qsd", "out1"], "to": ["wcx", "inp1"] },
{ "from": ["qsd", "out1"], "to": ["ert", "inp2"] },
{ "from": ["ert", "out1"], "to": ["aze", "inp2"] }
{ "from": ["ert", "out1"], "to": ["9999", "inp1"] }
]
}
}