diff --git a/Workflows/Examples/API Requests/Value Parser.json b/Workflows/Examples/API Requests/Value Parser.json new file mode 100644 index 0000000..8cc9f24 --- /dev/null +++ b/Workflows/Examples/API Requests/Value Parser.json @@ -0,0 +1,106 @@ +{ + "tab_name": "Value Parser", + "nodes": [ + { + "data": { + "body": "", + "content": "Fetch JSON from HTTP or remote API endpoint, with CORS proxy option.", + "intervalSec": "10", + "label": "API Request", + "result": "{\n \"status\": \"ok\"\n}", + "url": "http://localhost:5000/health", + "useProxy": "true" + }, + "dragHandle": ".borealis-node-header", + "dragging": false, + "height": 124, + "id": "node-1754799747658", + "position": { + "x": 27.333333333333314, + "y": 28 + }, + "positionAbsolute": { + "x": 27.333333333333314, + "y": 28 + }, + "selected": false, + "type": "API_Request", + "width": 160 + }, + { + "data": { + "content": "Display prettified multi-line JSON from upstream node.", + "jsonData": { + "status": "ok" + }, + "label": "Display JSON Data" + }, + "dragHandle": ".borealis-node-header", + "dragging": false, + "height": 150, + "id": "node-1754799750393", + "position": { + "x": 245.33333333333326, + "y": 28 + }, + "positionAbsolute": { + "x": 245.33333333333326, + "y": 28 + }, + "selected": false, + "type": "Node_JSON_Pretty_Display", + "width": 260 + }, + { + "data": { + "content": "Provide a dot-separated key path (e.g. 'name.en'); outputs the extracted string or 'Key Not Found'.", + "keyName": "status", + "label": "JSON Value Extractor", + "result": "ok" + }, + "dragHandle": ".borealis-node-header", + "dragging": false, + "height": 145, + "id": "node-1754799751513", + "position": { + "x": 559.3333333333333, + "y": 28 + }, + "positionAbsolute": { + "x": 559.3333333333333, + "y": 28 + }, + "selected": false, + "type": "JSON_Value_Extractor", + "width": 160 + } + ], + "edges": [ + { + "animated": true, + "id": "reactflow__edge-node-1754799747658-node-1754799750393", + "source": "node-1754799747658", + "sourceHandle": null, + "style": { + "stroke": "#58a6ff", + "strokeDasharray": "6 3" + }, + "target": "node-1754799750393", + "targetHandle": null, + "type": "bezier" + }, + { + "animated": true, + "id": "reactflow__edge-node-1754799750393-node-1754799751513", + "source": "node-1754799750393", + "sourceHandle": null, + "style": { + "stroke": "#58a6ff", + "strokeDasharray": "6 3" + }, + "target": "node-1754799751513", + "targetHandle": null, + "type": "bezier" + } + ] +} \ No newline at end of file diff --git a/Workflows/Examples/Basic/Logic Comparison.json b/Workflows/Examples/Basic/Logic Comparison.json new file mode 100644 index 0000000..18119e7 --- /dev/null +++ b/Workflows/Examples/Basic/Logic Comparison.json @@ -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" + } + ] +} \ No newline at end of file diff --git a/Workflows/Examples/Basic/Math Operations.json b/Workflows/Examples/Basic/Math Operations.json new file mode 100644 index 0000000..30764c6 --- /dev/null +++ b/Workflows/Examples/Basic/Math Operations.json @@ -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" + } + ] +} \ No newline at end of file diff --git a/Workflows/Examples/OCR/Text Recognition.json b/Workflows/Examples/OCR/Text Recognition.json new file mode 100644 index 0000000..7af46da --- /dev/null +++ b/Workflows/Examples/OCR/Text Recognition.json @@ -0,0 +1,276 @@ +{ + "tab_name": "Text Recognition", + "nodes": [ + { + "id": "node-1754800498085", + "type": "Borealis_Agent", + "position": { + "x": 25.999999999999943, + "y": 24.000000000000014 + }, + "data": { + "label": "Borealis Agent", + "content": "Select and manage an Agent with dynamic roles", + "agent_id": "" + }, + "dragHandle": ".borealis-node-header", + "positionAbsolute": { + "x": 25.999999999999943, + "y": 24.000000000000014 + }, + "width": 205, + "height": 146, + "selected": false, + "dragging": false + }, + { + "id": "node-1754800514571", + "type": "Agent_Role_Screenshot", + "position": { + "x": 278, + "y": 24 + }, + "data": { + "label": "Agent Role: Screenshot", + "content": "Capture screenshot region via agent", + "interval": "1000", + "x": "250", + "y": "100", + "w": "300", + "h": "200", + "visible": "true", + "alias": "" + }, + "dragHandle": ".borealis-node-header", + "width": 166, + "height": 115, + "selected": false, + "positionAbsolute": { + "x": 278, + "y": 24 + }, + "dragging": false + }, + { + "id": "node-1754800556810", + "type": "Image_Viewer", + "position": { + "x": 507.33333333333326, + "y": 24 + }, + "data": { + "label": "Raw Image Viewer", + "content": "Visual preview of base64 image with zoom overlay." + }, + "dragHandle": ".borealis-node-header", + "width": 160, + "height": 69, + "selected": false, + "positionAbsolute": { + "x": 507.33333333333326, + "y": 24 + }, + "dragging": false + }, + { + "id": "node-1754800584420", + "type": "BWThresholdNode", + "position": { + "x": 507.33333333333337, + "y": 110 + }, + "data": { + "label": "BW Threshold", + "content": "Applies black & white threshold to base64 image input." + }, + "dragHandle": ".borealis-node-header", + "width": 160, + "height": 96, + "selected": false, + "positionAbsolute": { + "x": 507.33333333333337, + "y": 110 + }, + "dragging": false + }, + { + "id": "node-1754800597090", + "type": "OCR_Text_Extraction", + "position": { + "x": 46.800008138020814, + "y": 280.00000000000006 + }, + "data": { + "label": "OCR Text Extraction", + "content": "Extract Multi-Line Text from Upstream Image Node", + "engine": "EasyOCR", + "backend": "GPU", + "dataType": "Mixed", + "customRateEnabled": "true", + "customRateMs": "1000", + "changeThreshold": "0" + }, + "dragHandle": ".borealis-node-header", + "width": 231, + "height": 160, + "selected": false, + "positionAbsolute": { + "x": 46.800008138020814, + "y": 280.00000000000006 + }, + "dragging": false + }, + { + "id": "node-1754800680302", + "type": "ArrayIndexExtractor", + "position": { + "x": 497.3333333333333, + "y": 280 + }, + "data": { + "label": "Array Index Extractor", + "content": "Output a Specific Array Index's Value", + "lineNumber": "1" + }, + "dragHandle": ".borealis-node-header", + "width": 210, + "height": 121, + "selected": false, + "positionAbsolute": { + "x": 497.3333333333333, + "y": 280 + }, + "dragging": false + }, + { + "id": "node-1754800736215", + "type": "DataNode", + "position": { + "x": 328.6666666666665, + "y": 568.6666666666666 + }, + "data": { + "label": "String / Number", + "content": "Store a String or Number", + "value": "[ERROR] No base64 image data provided." + }, + "dragHandle": ".borealis-node-header", + "width": 226, + "height": 67, + "selected": true, + "positionAbsolute": { + "x": 328.6666666666665, + "y": 568.6666666666666 + }, + "dragging": false + } + ], + "edges": [ + { + "source": "node-1754800498085", + "sourceHandle": "provisioner", + "target": "node-1754800514571", + "targetHandle": null, + "type": "smoothstep", + "animated": true, + "style": { + "strokeDasharray": "6 3", + "stroke": "#58a6ff" + }, + "id": "reactflow__edge-node-1754800498085provisioner-node-1754800514571", + "label": "Capture the Screen", + "labelBgStyle": { + "fill": "#000000" + }, + "labelStyle": { + "fill": "#58a6ff" + } + }, + { + "source": "node-1754800514571", + "sourceHandle": null, + "target": "node-1754800556810", + "targetHandle": null, + "type": "bezier", + "animated": true, + "style": { + "strokeDasharray": "6 3", + "stroke": "#58a6ff" + }, + "id": "reactflow__edge-node-1754800514571-node-1754800556810" + }, + { + "source": "node-1754800514571", + "sourceHandle": null, + "target": "node-1754800584420", + "targetHandle": null, + "type": "bezier", + "animated": true, + "style": { + "strokeDasharray": "6 3", + "stroke": "#58a6ff" + }, + "id": "reactflow__edge-node-1754800514571-node-1754800584420" + }, + { + "source": "node-1754800584420", + "sourceHandle": null, + "target": "node-1754800597090", + "targetHandle": null, + "type": "smoothstep", + "animated": true, + "style": { + "strokeDasharray": "6 3", + "stroke": "#00d18c" + }, + "id": "reactflow__edge-node-1754800584420-node-1754800597090", + "label": "Process Agent Screenshot into Text", + "labelBgStyle": { + "fill": "#000000" + }, + "labelStyle": { + "fill": "#00d18c" + } + }, + { + "source": "node-1754800597090", + "sourceHandle": null, + "target": "node-1754800680302", + "targetHandle": null, + "type": "straight", + "animated": true, + "style": { + "strokeDasharray": "6 3", + "stroke": "#00d18c" + }, + "id": "reactflow__edge-node-1754800597090-node-1754800680302", + "label": "Extract a Specific Line of Text", + "labelBgStyle": { + "fill": "#000000" + }, + "labelStyle": { + "fill": "#00d18c" + } + }, + { + "source": "node-1754800680302", + "sourceHandle": null, + "target": "node-1754800736215", + "targetHandle": null, + "type": "smoothstep", + "animated": true, + "style": { + "strokeDasharray": "6 3", + "stroke": "#ff8c00" + }, + "id": "reactflow__edge-node-1754800680302-node-1754800736215", + "label": "Do something with the result", + "labelStyle": { + "fill": "#ff8c00" + }, + "labelBgStyle": { + "fill": "#000000" + } + } + ] +} \ No newline at end of file diff --git a/Workflows/Flyff Universe/flyff_character_status_workflow.json b/Workflows/Games/Flyff Universe/Flyff Status Breakdown.json similarity index 99% rename from Workflows/Flyff Universe/flyff_character_status_workflow.json rename to Workflows/Games/Flyff Universe/Flyff Status Breakdown.json index 46016ff..43e6f75 100644 --- a/Workflows/Flyff Universe/flyff_character_status_workflow.json +++ b/Workflows/Games/Flyff Universe/Flyff Status Breakdown.json @@ -565,5 +565,5 @@ } } ], - "tab_name": "Flyff Character Status" + "tab_name": "Flyff Status Breakdown" } \ No newline at end of file