{
  "author": "Voodflow",
  "license": "MIT",
  "description": "If: Route orders by status (completed vs other)",
  "version": "1.0.0",
  "nodes": [
    {
      "id": "dummy_data_node-if-ex-001",
      "type": "dummy_data_node",
      "position": { "x": -600, "y": -50 },
      "data": {
        "label": "Order Data",
        "description": "Sample order payload",
        "data_type": "json",
        "content": "{\n  \"order_id\": 1042,\n  \"customer\": \"Alice\",\n  \"status\": \"completed\",\n  \"total\": 149.90\n}",
        "icon": "heroicon-o-document-arrow-down",
        "iconType": "heroicon",
        "color": "emerald",
        "display_name": "Dummy Data",
        "isNew": true,
        "isExpanded": true,
        "positioning": { "input": false, "output": true },
        "config": {
          "label": "Order Data",
          "description": "Sample order payload",
          "data_type": "json",
          "content": "{\n  \"order_id\": 1042,\n  \"customer\": \"Alice\",\n  \"status\": \"completed\",\n  \"total\": 149.90\n}",
          "positioning": { "input": false, "output": true },
          "isExpanded": true
        }
      },
      "measured": { "width": 450, "height": 350 }
    },
    {
      "id": "if_node-if-ex-002",
      "type": "if_node",
      "position": { "x": 0, "y": -50 },
      "data": {
        "label": "Status = completed?",
        "description": "Route by order status",
        "conditions": [
          { "column": "status", "field": "status", "operator": "=", "value": "completed", "logic": "AND" }
        ],
        "icon": "heroicon-o-arrows-up-down",
        "iconType": "heroicon",
        "color": "yellow",
        "display_name": "If",
        "isNew": true,
        "isExpanded": true,
        "positioning": {
          "input": true,
          "output": [
            { "id": "true", "label": "True", "color": "emerald", "position": "right" },
            { "id": "false", "label": "False", "color": "rose", "position": "right" }
          ]
        },
        "config": {
          "label": "Status = completed?",
          "description": "Route by order status",
          "conditions": [
            { "column": "status", "field": "status", "operator": "=", "value": "completed", "logic": "AND" }
          ],
          "positioning": {
            "input": true,
            "output": [
              { "id": "true", "label": "True", "color": "emerald", "position": "right" },
              { "id": "false", "label": "False", "color": "rose", "position": "right" }
            ]
          },
          "isExpanded": true
        }
      },
      "measured": { "width": 500, "height": 400 }
    },
    {
      "id": "data_viewer_node-if-ex-003",
      "type": "data_viewer_node",
      "position": { "x": 650, "y": -250 },
      "data": {
        "label": "Completed",
        "description": "Order is completed",
        "view_mode": "auto",
        "icon": "heroicon-o-table-cells",
        "iconType": "heroicon",
        "color": "slate",
        "display_name": "Data Viewer",
        "isNew": true,
        "config": { "label": "Completed", "description": "Order is completed", "view_mode": "auto" }
      },
      "measured": { "width": 450, "height": 300 }
    },
    {
      "id": "data_viewer_node-if-ex-004",
      "type": "data_viewer_node",
      "position": { "x": 650, "y": 150 },
      "data": {
        "label": "Not Completed",
        "description": "Order is not completed",
        "view_mode": "auto",
        "icon": "heroicon-o-table-cells",
        "iconType": "heroicon",
        "color": "slate",
        "display_name": "Data Viewer",
        "isNew": true,
        "config": { "label": "Not Completed", "description": "Order is not completed", "view_mode": "auto" }
      },
      "measured": { "width": 450, "height": 300 }
    }
  ],
  "edges": [
    {
      "id": "edge-dummy-to-if",
      "source": "dummy_data_node-if-ex-001",
      "target": "if_node-if-ex-002",
      "sourceHandle": null,
      "targetHandle": null,
      "style": { "stroke": "#64748b", "strokeWidth": 2 }
    },
    {
      "id": "edge-if-true",
      "source": "if_node-if-ex-002",
      "target": "data_viewer_node-if-ex-003",
      "sourceHandle": "true",
      "targetHandle": null,
      "style": { "stroke": "#64748b", "strokeWidth": 2 }
    },
    {
      "id": "edge-if-false",
      "source": "if_node-if-ex-002",
      "target": "data_viewer_node-if-ex-004",
      "sourceHandle": "false",
      "targetHandle": null,
      "style": { "stroke": "#64748b", "strokeWidth": 2 }
    }
  ],
  "viewport": { "x": 700, "y": 350, "zoom": 0.75 },
  "exportedAt": "2026-03-31T18:00:00.000Z",
  "voodflowVersion": "1.0.0"
}
