graflow: improving ortho

This commit is contained in:
STEINNI
2026-03-04 20:48:50 +00:00
parent f81ae0611c
commit 2d87523020
3 changed files with 91 additions and 34 deletions
+53 -6
View File
@@ -4,7 +4,7 @@
"nodes":[
{ "nodeType": "square",
"id": "p1center",
"coords": { "x": 500, "y": 200},
"coords": { "x": 300, "y": 200},
"markup": {
"title": "Center",
"subtitle": "."
@@ -12,7 +12,7 @@
},
{ "nodeType": "square",
"id": "p1west",
"coords": { "x": 400, "y": 200},
"coords": { "x": 200, "y": 200},
"markup": {
"title": "West",
"subtitle": "."
@@ -20,7 +20,7 @@
},
{ "nodeType": "square",
"id": "p1north",
"coords": { "x": 500, "y": 100},
"coords": { "x": 300, "y": 100},
"markup": {
"title": "North",
"subtitle": "."
@@ -28,7 +28,7 @@
},
{ "nodeType": "square",
"id": "p1east",
"coords": { "x": 600, "y": 200},
"coords": { "x": 400, "y": 200},
"markup": {
"title": "East",
"subtitle": "."
@@ -36,18 +36,65 @@
},
{ "nodeType": "square",
"id": "p1south",
"coords": { "x": 500, "y": 300},
"coords": { "x": 300, "y": 300},
"markup": {
"title": "South",
"subtitle": "."
}
},
{ "nodeType": "square",
"id": "p2center",
"coords": { "x": 800, "y": 200},
"markup": {
"title": "Center",
"subtitle": "."
}
},
{ "nodeType": "square",
"id": "p2west",
"coords": { "x": 700, "y": 200},
"markup": {
"title": "West",
"subtitle": "."
}
},
{ "nodeType": "square",
"id": "p2north",
"coords": { "x": 800, "y": 100},
"markup": {
"title": "North",
"subtitle": "."
}
},
{ "nodeType": "square",
"id": "p2east",
"coords": { "x": 900, "y": 200},
"markup": {
"title": "East",
"subtitle": "."
}
},
{ "nodeType": "square",
"id": "p2south",
"coords": { "x": 800, "y": 300},
"markup": {
"title": "South",
"subtitle": "."
}
}
],
"links": [
{ "from": ["p1center", "s"], "to": ["p1south", "n"] },
{ "from": ["p1center", "e"], "to": ["p1east", "w"] },
{ "from": ["p1center", "n"], "to": ["p1north", "s"] },
{ "from": ["p1center", "w"], "to": ["p1west", "e"] }
{ "from": ["p1center", "w"], "to": ["p1west", "e"] },
{ "from": ["p2center", "s"], "to": ["p2south", "e"] },
{ "from": ["p2center", "e"], "to": ["p2east", "n"] },
{ "from": ["p2center", "n"], "to": ["p2north", "w"] },
{ "from": ["p2center", "w"], "to": ["p2west", "s"] }
]
}
}