mirror of
https://github.com/bunny-lab-io/Borealis.git
synced 2025-09-11 08:28:42 -06:00
Added Various Example Flows
This commit is contained in:
147
Workflows/Examples/Basic/Math Operations.json
Normal file
147
Workflows/Examples/Basic/Math Operations.json
Normal file
@@ -0,0 +1,147 @@
|
||||
{
|
||||
"tab_name": "Math Operations",
|
||||
"nodes": [
|
||||
{
|
||||
"id": "node-1754800111049",
|
||||
"type": "DataNode",
|
||||
"position": {
|
||||
"x": 19.333333333333314,
|
||||
"y": 20.666666666666657
|
||||
},
|
||||
"data": {
|
||||
"label": "Number Input A",
|
||||
"content": "Store a String or Number",
|
||||
"value": "5"
|
||||
},
|
||||
"dragHandle": ".borealis-node-header",
|
||||
"width": 160,
|
||||
"height": 67,
|
||||
"selected": false,
|
||||
"positionAbsolute": {
|
||||
"x": 19.333333333333314,
|
||||
"y": 20.666666666666657
|
||||
},
|
||||
"dragging": false
|
||||
},
|
||||
{
|
||||
"id": "node-1754800112609",
|
||||
"type": "DataNode",
|
||||
"position": {
|
||||
"x": 19.33333333333337,
|
||||
"y": 121.33333333333337
|
||||
},
|
||||
"data": {
|
||||
"label": "Number Input B",
|
||||
"content": "Store a String or Number",
|
||||
"accentColor": "#ff8c00",
|
||||
"value": "3"
|
||||
},
|
||||
"dragHandle": ".borealis-node-header",
|
||||
"width": 160,
|
||||
"height": 67,
|
||||
"selected": false,
|
||||
"positionAbsolute": {
|
||||
"x": 19.33333333333337,
|
||||
"y": 121.33333333333337
|
||||
},
|
||||
"dragging": false,
|
||||
"style": {
|
||||
"--borealis-accent": "#ff8c00",
|
||||
"--borealis-accent-dark": "#b36200",
|
||||
"--borealis-title": "#ff8c00"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "node-1754800119705",
|
||||
"type": "MathNode",
|
||||
"position": {
|
||||
"x": 276.66666666666663,
|
||||
"y": 69.33333333333334
|
||||
},
|
||||
"data": {
|
||||
"label": "Multiply A x B",
|
||||
"content": "Perform Math Operations",
|
||||
"value": "15",
|
||||
"operator": "Multiply",
|
||||
"accentColor": "#00d18c"
|
||||
},
|
||||
"dragHandle": ".borealis-node-header",
|
||||
"width": 160,
|
||||
"height": 67,
|
||||
"positionAbsolute": {
|
||||
"x": 276.66666666666663,
|
||||
"y": 69.33333333333334
|
||||
},
|
||||
"selected": false,
|
||||
"dragging": false,
|
||||
"style": {
|
||||
"--borealis-accent": "#00d18c",
|
||||
"--borealis-accent-dark": "#009262",
|
||||
"--borealis-title": "#00d18c"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "node-1754800128555",
|
||||
"type": "DataNode",
|
||||
"position": {
|
||||
"x": 517.3333333333334,
|
||||
"y": 69.33333333333333
|
||||
},
|
||||
"data": {
|
||||
"label": "Usable Result",
|
||||
"content": "Store a String or Number",
|
||||
"value": "15"
|
||||
},
|
||||
"dragHandle": ".borealis-node-header",
|
||||
"width": 160,
|
||||
"height": 67,
|
||||
"positionAbsolute": {
|
||||
"x": 517.3333333333334,
|
||||
"y": 69.33333333333333
|
||||
},
|
||||
"selected": true,
|
||||
"dragging": false
|
||||
}
|
||||
],
|
||||
"edges": [
|
||||
{
|
||||
"source": "node-1754800111049",
|
||||
"sourceHandle": null,
|
||||
"target": "node-1754800119705",
|
||||
"targetHandle": "a",
|
||||
"type": "bezier",
|
||||
"animated": true,
|
||||
"style": {
|
||||
"strokeDasharray": "6 3",
|
||||
"stroke": "#58a6ff"
|
||||
},
|
||||
"id": "reactflow__edge-node-1754800111049-node-1754800119705a"
|
||||
},
|
||||
{
|
||||
"source": "node-1754800112609",
|
||||
"sourceHandle": null,
|
||||
"target": "node-1754800119705",
|
||||
"targetHandle": "b",
|
||||
"type": "bezier",
|
||||
"animated": true,
|
||||
"style": {
|
||||
"strokeDasharray": "6 3",
|
||||
"stroke": "#58a6ff"
|
||||
},
|
||||
"id": "reactflow__edge-node-1754800112609-node-1754800119705b"
|
||||
},
|
||||
{
|
||||
"source": "node-1754800119705",
|
||||
"sourceHandle": null,
|
||||
"target": "node-1754800128555",
|
||||
"targetHandle": null,
|
||||
"type": "bezier",
|
||||
"animated": true,
|
||||
"style": {
|
||||
"strokeDasharray": "6 3",
|
||||
"stroke": "#58a6ff"
|
||||
},
|
||||
"id": "reactflow__edge-node-1754800119705-node-1754800128555"
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user