{
  "author": "Voodflow",
  "license": "MIT",
  "description": "Merge: Re-unify branches after an If node",
  "version": "1.0.0",
  "nodes": [
    {
      "id": "dummy_data_node-a1b2c3d4-1111-4aaa-bbbb-000000000001",
      "type": "dummy_data_node",
      "position": { "x": -700, "y": -100 },
      "data": {
        "label": "Customer",
        "description": "Sample customer data",
        "content": "{\n  \"name\": \"Alice\",\n  \"email\": \"alice@example.com\",\n  \"status\": \"vip\",\n  \"total_orders\": 42\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": "Customer",
          "description": "Sample customer data",
          "content": "{\n  \"name\": \"Alice\",\n  \"email\": \"alice@example.com\",\n  \"status\": \"vip\",\n  \"total_orders\": 42\n}",
          "icon": "heroicon-o-document-arrow-down",
          "iconType": "heroicon",
          "color": "emerald",
          "display_name": "Dummy Data",
          "isNew": true,
          "isExpanded": true,
          "positioning": {
            "input": false,
            "output": true
          }
        }
      },
      "measured": { "width": 450, "height": 350 }
    },
    {
      "id": "if_node-a1b2c3d4-2222-4aaa-bbbb-000000000002",
      "type": "if_node",
      "position": { "x": -50, "y": -100 },
      "data": {
        "label": "Is VIP?",
        "description": "Check customer status",
        "conditions": [
          {
            "column": "status",
            "field": "status",
            "operator": "=",
            "value": "vip",
            "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": "Is VIP?",
          "description": "Check customer status",
          "conditions": [
            {
              "column": "status",
              "field": "status",
              "operator": "=",
              "value": "vip",
              "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" }
            ]
          }
        }
      },
      "measured": { "width": 450, "height": 400 }
    },
    {
      "id": "set_variable_node-a1b2c3d4-3333-4aaa-bbbb-000000000003",
      "type": "set_variable_node",
      "position": { "x": 550, "y": -300 },
      "data": {
        "label": "VIP Discount",
        "description": "Set 20% discount for VIP",
        "variables": [
          {
            "name": "discount",
            "value": "20",
            "scope": "local",
            "mode": "overwrite"
          }
        ],
        "icon": "heroicon-o-tag",
        "iconType": "heroicon",
        "color": "emerald",
        "display_name": "Set Variable",
        "isNew": true,
        "isExpanded": true,
        "config": {
          "label": "VIP Discount",
          "description": "Set 20% discount for VIP",
          "variables": [
            {
              "name": "discount",
              "value": "20",
              "scope": "local",
              "mode": "overwrite"
            }
          ],
          "icon": "heroicon-o-tag",
          "iconType": "heroicon",
          "color": "emerald",
          "display_name": "Set Variable",
          "isNew": true,
          "isExpanded": true
        }
      },
      "measured": { "width": 450, "height": 300 }
    },
    {
      "id": "set_variable_node-a1b2c3d4-4444-4aaa-bbbb-000000000004",
      "type": "set_variable_node",
      "position": { "x": 550, "y": 150 },
      "data": {
        "label": "No Discount",
        "description": "Set 0% discount for standard",
        "variables": [
          {
            "name": "discount",
            "value": "0",
            "scope": "local",
            "mode": "overwrite"
          }
        ],
        "icon": "heroicon-o-tag",
        "iconType": "heroicon",
        "color": "emerald",
        "display_name": "Set Variable",
        "isNew": true,
        "isExpanded": true,
        "config": {
          "label": "No Discount",
          "description": "Set 0% discount for standard",
          "variables": [
            {
              "name": "discount",
              "value": "0",
              "scope": "local",
              "mode": "overwrite"
            }
          ],
          "icon": "heroicon-o-tag",
          "iconType": "heroicon",
          "color": "emerald",
          "display_name": "Set Variable",
          "isNew": true,
          "isExpanded": true
        }
      },
      "measured": { "width": 450, "height": 300 }
    },
    {
      "id": "merge_node-a1b2c3d4-5555-4aaa-bbbb-000000000005",
      "type": "merge_node",
      "position": { "x": 1150, "y": -100 },
      "data": {
        "label": "Merge",
        "description": "Re-unify branches",
        "mergeStrategy": "concat",
        "mergeKey": "id",
        "icon": "heroicon-o-arrows-pointing-in",
        "iconType": "heroicon",
        "color": "yellow",
        "display_name": "Merge",
        "isNew": true,
        "isExpanded": true,
        "config": {
          "label": "Merge",
          "description": "Re-unify branches",
          "mergeStrategy": "concat",
          "mergeKey": "id",
          "icon": "heroicon-o-arrows-pointing-in",
          "iconType": "heroicon",
          "color": "yellow",
          "display_name": "Merge",
          "isNew": true,
          "isExpanded": true
        }
      },
      "measured": { "width": 450, "height": 350 }
    },
    {
      "id": "data_viewer_node-a1b2c3d4-6666-4aaa-bbbb-000000000006",
      "type": "data_viewer_node",
      "position": { "x": 1750, "y": -100 },
      "data": {
        "label": "Result",
        "description": "Unified output",
        "view_mode": "auto",
        "icon": "heroicon-o-table-cells",
        "iconType": "heroicon",
        "color": "slate",
        "display_name": "Data Viewer",
        "isNew": true,
        "isExpanded": true,
        "config": {
          "label": "Result",
          "description": "Unified output",
          "view_mode": "auto",
          "icon": "heroicon-o-table-cells",
          "iconType": "heroicon",
          "color": "slate",
          "display_name": "Data Viewer",
          "isNew": true,
          "isExpanded": true
        }
      },
      "measured": { "width": 450, "height": 350 }
    }
  ],
  "edges": [
    {
      "id": "edge-dummy-to-if",
      "source": "dummy_data_node-a1b2c3d4-1111-4aaa-bbbb-000000000001",
      "target": "if_node-a1b2c3d4-2222-4aaa-bbbb-000000000002",
      "sourceHandle": null,
      "targetHandle": null,
      "animated": false,
      "style": { "stroke": "#64748b", "strokeWidth": 2 }
    },
    {
      "id": "edge-if-true-to-vip",
      "source": "if_node-a1b2c3d4-2222-4aaa-bbbb-000000000002",
      "target": "set_variable_node-a1b2c3d4-3333-4aaa-bbbb-000000000003",
      "sourceHandle": "true",
      "targetHandle": null,
      "animated": false,
      "style": { "stroke": "#64748b", "strokeWidth": 2 }
    },
    {
      "id": "edge-if-false-to-standard",
      "source": "if_node-a1b2c3d4-2222-4aaa-bbbb-000000000002",
      "target": "set_variable_node-a1b2c3d4-4444-4aaa-bbbb-000000000004",
      "sourceHandle": "false",
      "targetHandle": null,
      "animated": false,
      "style": { "stroke": "#64748b", "strokeWidth": 2 }
    },
    {
      "id": "edge-vip-to-merge",
      "source": "set_variable_node-a1b2c3d4-3333-4aaa-bbbb-000000000003",
      "target": "merge_node-a1b2c3d4-5555-4aaa-bbbb-000000000005",
      "sourceHandle": null,
      "targetHandle": "input-A",
      "animated": false,
      "style": { "stroke": "#64748b", "strokeWidth": 2 }
    },
    {
      "id": "edge-standard-to-merge",
      "source": "set_variable_node-a1b2c3d4-4444-4aaa-bbbb-000000000004",
      "target": "merge_node-a1b2c3d4-5555-4aaa-bbbb-000000000005",
      "sourceHandle": null,
      "targetHandle": "input-B",
      "animated": false,
      "style": { "stroke": "#64748b", "strokeWidth": 2 }
    },
    {
      "id": "edge-merge-to-viewer",
      "source": "merge_node-a1b2c3d4-5555-4aaa-bbbb-000000000005",
      "target": "data_viewer_node-a1b2c3d4-6666-4aaa-bbbb-000000000006",
      "sourceHandle": null,
      "targetHandle": null,
      "animated": false,
      "style": { "stroke": "#64748b", "strokeWidth": 2 }
    }
  ],
  "viewport": { "x": 800, "y": 400, "zoom": 0.7 },
  "exportedAt": "2026-03-31T18:00:00.000Z",
  "voodflowVersion": "1.0.0"
}
