Added functional ability to save and open workflows

This commit is contained in:
2025-03-29 21:23:50 -06:00
parent 467225d89e
commit b1c7424026
3 changed files with 178 additions and 44 deletions

80
Workflows/Test.json Normal file
View File

@ -0,0 +1,80 @@
{
"nodes": [
{
"id": "node-1743304886846",
"type": "custom",
"position": {
"x": 214.63333129882812,
"y": 146.66666666666666
},
"data": {
"label": "Custom Node",
"content": "Placeholder"
},
"width": 160,
"height": 72
},
{
"id": "node-1743304888268",
"type": "custom",
"position": {
"x": 621.2999979654948,
"y": 276.6666666666667
},
"data": {
"label": "Custom Node",
"content": "Placeholder"
},
"width": 160,
"height": 72
},
{
"id": "node-1743304891251",
"type": "custom",
"position": {
"x": 814.6333312988281,
"y": 65.33333333333334
},
"data": {
"label": "Custom Node",
"content": "Placeholder"
},
"width": 160,
"height": 72,
"selected": true,
"positionAbsolute": {
"x": 814.6333312988281,
"y": 65.33333333333334
},
"dragging": false
}
],
"edges": [
{
"source": "node-1743304886846",
"sourceHandle": null,
"target": "node-1743304888268",
"targetHandle": null,
"type": "smoothstep",
"animated": true,
"style": {
"strokeDasharray": "6 3",
"stroke": "#58a6ff"
},
"id": "reactflow__edge-node-1743304886846-node-1743304888268"
},
{
"source": "node-1743304886846",
"sourceHandle": null,
"target": "node-1743304891251",
"targetHandle": null,
"type": "smoothstep",
"animated": true,
"style": {
"strokeDasharray": "6 3",
"stroke": "#58a6ff"
},
"id": "reactflow__edge-node-1743304886846-node-1743304891251"
}
]
}