Added Various Example Flows

This commit is contained in:
2025-08-09 22:40:59 -06:00
parent 3b6f8bfbac
commit 9d31caf3bd
5 changed files with 643 additions and 1 deletions

View File

@@ -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"
}
}
]
}