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:
113
Workflows/Examples/Basic/Logic Comparison.json
Normal file
113
Workflows/Examples/Basic/Logic Comparison.json
Normal file
@@ -0,0 +1,113 @@
|
||||
{
|
||||
"tab_name": "Logic Comparison",
|
||||
"nodes": [
|
||||
{
|
||||
"data": {
|
||||
"content": "Store a String or Number",
|
||||
"label": "String Input A",
|
||||
"value": "Bunny"
|
||||
},
|
||||
"dragHandle": ".borealis-node-header",
|
||||
"dragging": false,
|
||||
"height": 67,
|
||||
"id": "node-1754800111049",
|
||||
"position": {
|
||||
"x": 19.333333333333314,
|
||||
"y": 20.666666666666657
|
||||
},
|
||||
"positionAbsolute": {
|
||||
"x": 19.333333333333314,
|
||||
"y": 20.666666666666657
|
||||
},
|
||||
"selected": false,
|
||||
"type": "DataNode",
|
||||
"width": 160
|
||||
},
|
||||
{
|
||||
"data": {
|
||||
"accentColor": "#ff8c00",
|
||||
"content": "Store a String or Number",
|
||||
"label": "String Input B",
|
||||
"value": "Bunny"
|
||||
},
|
||||
"dragHandle": ".borealis-node-header",
|
||||
"dragging": false,
|
||||
"height": 67,
|
||||
"id": "node-1754800112609",
|
||||
"position": {
|
||||
"x": 19.33333333333337,
|
||||
"y": 121.33333333333337
|
||||
},
|
||||
"positionAbsolute": {
|
||||
"x": 19.33333333333337,
|
||||
"y": 121.33333333333337
|
||||
},
|
||||
"selected": false,
|
||||
"style": {
|
||||
"--borealis-accent": "#ff8c00",
|
||||
"--borealis-accent-dark": "#b36200",
|
||||
"--borealis-title": "#ff8c00"
|
||||
},
|
||||
"type": "DataNode",
|
||||
"width": 160
|
||||
},
|
||||
{
|
||||
"id": "node-1754800323495",
|
||||
"type": "ComparisonNode",
|
||||
"position": {
|
||||
"x": 271.3333333333333,
|
||||
"y": 69.33333333333333
|
||||
},
|
||||
"data": {
|
||||
"label": "Does A and B Match?",
|
||||
"content": "Compare A and B using Logic, with new range operator.",
|
||||
"value": "1",
|
||||
"accentColor": "#c0ff00",
|
||||
"inputType": "String",
|
||||
"operator": "Equal (==)"
|
||||
},
|
||||
"dragHandle": ".borealis-node-header",
|
||||
"width": 160,
|
||||
"height": 67,
|
||||
"positionAbsolute": {
|
||||
"x": 271.3333333333333,
|
||||
"y": 69.33333333333333
|
||||
},
|
||||
"selected": false,
|
||||
"dragging": false,
|
||||
"style": {
|
||||
"--borealis-accent": "#c0ff00",
|
||||
"--borealis-accent-dark": "#86b300",
|
||||
"--borealis-title": "#c0ff00"
|
||||
}
|
||||
}
|
||||
],
|
||||
"edges": [
|
||||
{
|
||||
"source": "node-1754800111049",
|
||||
"sourceHandle": null,
|
||||
"target": "node-1754800323495",
|
||||
"targetHandle": "a",
|
||||
"type": "bezier",
|
||||
"animated": true,
|
||||
"style": {
|
||||
"strokeDasharray": "6 3",
|
||||
"stroke": "#58a6ff"
|
||||
},
|
||||
"id": "reactflow__edge-node-1754800111049-node-1754800323495a"
|
||||
},
|
||||
{
|
||||
"source": "node-1754800112609",
|
||||
"sourceHandle": null,
|
||||
"target": "node-1754800323495",
|
||||
"targetHandle": "b",
|
||||
"type": "bezier",
|
||||
"animated": true,
|
||||
"style": {
|
||||
"strokeDasharray": "6 3",
|
||||
"stroke": "#58a6ff"
|
||||
},
|
||||
"id": "reactflow__edge-node-1754800112609-node-1754800323495b"
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user