{
  "version": 0.4,
  "last_node_id": 12,
  "last_link_id": 15,
  "nodes": [
    {
      "id": 1,
      "type": "SaltTextInput",
      "title": "Primary Text",
      "pos": [
        40,
        120
      ],
      "size": [
        300,
        140
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "outputs": [
        {
          "name": "output",
          "type": "*",
          "links": [
            1
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "SaltTextInput"
      },
      "widgets_values": [
        "5"
      ]
    },
    {
      "id": 2,
      "type": "SAIPrimitiveConverter",
      "title": "Primary To Int",
      "pos": [
        360,
        130
      ],
      "size": [
        280,
        110
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [
        {
          "name": "input_value",
          "type": "*",
          "link": 1
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "*",
          "links": [
            2
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "SAIPrimitiveConverter"
      },
      "widgets_values": [
        "INT",
        "ORIGIN",
        ""
      ]
    },
    {
      "id": 3,
      "type": "SaltTextInput",
      "title": "Secondary Text",
      "pos": [
        40,
        390
      ],
      "size": [
        300,
        140
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "outputs": [
        {
          "name": "output",
          "type": "*",
          "links": [
            3
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "SaltTextInput"
      },
      "widgets_values": [
        "3"
      ]
    },
    {
      "id": 4,
      "type": "SAIPrimitiveConverter",
      "title": "Secondary To Int",
      "pos": [
        360,
        400
      ],
      "size": [
        280,
        110
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [
        {
          "name": "input_value",
          "type": "*",
          "link": 3
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "*",
          "links": [
            4
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "SAIPrimitiveConverter"
      },
      "widgets_values": [
        "INT",
        "ORIGIN",
        ""
      ]
    },
    {
      "id": 5,
      "type": "SaltIfNodeSimpleLoop",
      "title": "Do While Loop",
      "pos": [
        700,
        60
      ],
      "size": [
        980,
        640
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
        {
          "name": "open_value_1",
          "type": "*",
          "link": 2
        },
        {
          "name": "open_value_2",
          "type": "*",
          "link": 4
        },
        {
          "name": "close_value_1",
          "type": "*",
          "link": 7
        },
        {
          "name": "close_value_2",
          "type": "*",
          "link": 8
        },
        {
          "name": "condition",
          "type": "BOOLEAN",
          "link": 13
        }
      ],
      "outputs": [
        {
          "name": "value_1_true",
          "type": "*",
          "links": [
            5
          ],
          "slot_index": 0
        },
        {
          "name": "value_1_false",
          "type": "*",
          "links": [
            14
          ],
          "slot_index": 1
        },
        {
          "name": "value_2_true",
          "type": "*",
          "links": [
            6
          ],
          "slot_index": 2
        },
        {
          "name": "value_2_false",
          "type": "*",
          "links": [
            15
          ],
          "slot_index": 3
        }
      ],
      "properties": {
        "Node name for S&R": "SaltIfNodeSimpleLoop",
        "salt": {
          "widgets": [],
          "inputData": [
            {
              "name": "open_value_1",
              "displayOrder": 0
            },
            {
              "name": "open_value_2",
              "displayOrder": 1
            },
            {
              "name": "close_value_1",
              "displayOrder": 2
            },
            {
              "name": "close_value_2",
              "displayOrder": 3
            },
            {
              "name": "condition",
              "displayOrder": 4
            }
          ],
          "outputData": [
            {
              "outputIndex": 0,
              "displayOrder": 0
            },
            {
              "outputIndex": 1,
              "displayOrder": 1
            },
            {
              "outputIndex": 2,
              "displayOrder": 2
            },
            {
              "outputIndex": 3,
              "displayOrder": 3
            }
          ],
          "additionalData": {
            "nodeIds": [
              "6",
              "7",
              "8",
              "9",
              "10"
            ]
          }
        }
      }
    },
    {
      "id": 6,
      "type": "SaltIntMathOperation",
      "title": "Decrement A",
      "pos": [
        120,
        110
      ],
      "size": [
        320,
        110
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "name": "a",
          "type": "INT",
          "link": 5,
          "widget": {
            "name": "a"
          }
        }
      ],
      "outputs": [
        {
          "name": "result",
          "type": "INT",
          "links": [
            7,
            9
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "SaltIntMathOperation",
        "salt": {
          "parentId": "5",
          "extent": "parent",
          "widgets": [
            {
              "name": "a",
              "type": "INT",
              "displayOrder": 0,
              "widget": {
                "widgetType": "INT",
                "index": 0,
                "parameters": {},
                "serialize": true
              },
              "value": 0
            },
            {
              "name": "b",
              "type": "INT",
              "displayOrder": 1,
              "widget": {
                "widgetType": "INT",
                "index": 1,
                "parameters": {},
                "serialize": true
              },
              "value": 1
            },
            {
              "name": "operation",
              "type": "COMBO",
              "displayOrder": 2,
              "widget": {
                "widgetType": "COMBO",
                "index": 2,
                "parameters": {},
                "options": [
                  "add",
                  "subtract",
                  "multiply",
                  "divide",
                  "modulo",
                  "power"
                ],
                "serialize": true
              },
              "value": "subtract"
            }
          ],
          "inputData": [],
          "outputData": [
            {
              "outputIndex": 0,
              "displayOrder": 0
            }
          ]
        }
      },
      "widgets_values": [
        0,
        1,
        "subtract"
      ]
    },
    {
      "id": 7,
      "type": "SaltIntMathOperation",
      "title": "Decrement B",
      "pos": [
        120,
        250
      ],
      "size": [
        320,
        110
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "a",
          "type": "INT",
          "link": 6,
          "widget": {
            "name": "a"
          }
        }
      ],
      "outputs": [
        {
          "name": "result",
          "type": "INT",
          "links": [
            8,
            10
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "SaltIntMathOperation",
        "salt": {
          "parentId": "5",
          "extent": "parent",
          "widgets": [
            {
              "name": "a",
              "type": "INT",
              "displayOrder": 0,
              "widget": {
                "widgetType": "INT",
                "index": 0,
                "parameters": {},
                "serialize": true
              },
              "value": 0
            },
            {
              "name": "b",
              "type": "INT",
              "displayOrder": 1,
              "widget": {
                "widgetType": "INT",
                "index": 1,
                "parameters": {},
                "serialize": true
              },
              "value": 1
            },
            {
              "name": "operation",
              "type": "COMBO",
              "displayOrder": 2,
              "widget": {
                "widgetType": "COMBO",
                "index": 2,
                "parameters": {},
                "options": [
                  "add",
                  "subtract",
                  "multiply",
                  "divide",
                  "modulo",
                  "power"
                ],
                "serialize": true
              },
              "value": "subtract"
            }
          ],
          "inputData": [],
          "outputData": [
            {
              "outputIndex": 0,
              "displayOrder": 0
            }
          ]
        }
      },
      "widgets_values": [
        0,
        1,
        "subtract"
      ]
    },
    {
      "id": 8,
      "type": "SaltIntConditions",
      "title": "A > 0",
      "pos": [
        510,
        110
      ],
      "size": [
        250,
        90
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "a",
          "type": "INT",
          "link": 9,
          "widget": {
            "name": "a"
          }
        }
      ],
      "outputs": [
        {
          "name": "result",
          "type": "BOOLEAN",
          "links": [
            11
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "SaltIntConditions",
        "salt": {
          "parentId": "5",
          "extent": "parent",
          "widgets": [
            {
              "name": "a",
              "type": "INT",
              "displayOrder": 0,
              "widget": {
                "widgetType": "INT",
                "index": 0,
                "parameters": {},
                "serialize": true
              },
              "value": 0
            },
            {
              "name": "b",
              "type": "INT",
              "displayOrder": 1,
              "widget": {
                "widgetType": "INT",
                "index": 1,
                "parameters": {},
                "serialize": true
              },
              "value": 0
            },
            {
              "name": "operation",
              "type": "COMBO",
              "displayOrder": 2,
              "widget": {
                "widgetType": "COMBO",
                "index": 2,
                "parameters": {},
                "options": [
                  "==",
                  "!=",
                  "<",
                  ">",
                  "<=",
                  ">="
                ],
                "serialize": true
              },
              "value": ">"
            }
          ],
          "inputData": [],
          "outputData": [
            {
              "outputIndex": 0,
              "displayOrder": 0
            }
          ]
        }
      },
      "widgets_values": [
        0,
        0,
        ">"
      ]
    },
    {
      "id": 9,
      "type": "SaltIntConditions",
      "title": "B > 0",
      "pos": [
        510,
        250
      ],
      "size": [
        250,
        90
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "a",
          "type": "INT",
          "link": 10,
          "widget": {
            "name": "a"
          }
        }
      ],
      "outputs": [
        {
          "name": "result",
          "type": "BOOLEAN",
          "links": [
            12
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "SaltIntConditions",
        "salt": {
          "parentId": "5",
          "extent": "parent",
          "widgets": [
            {
              "name": "a",
              "type": "INT",
              "displayOrder": 0,
              "widget": {
                "widgetType": "INT",
                "index": 0,
                "parameters": {},
                "serialize": true
              },
              "value": 0
            },
            {
              "name": "b",
              "type": "INT",
              "displayOrder": 1,
              "widget": {
                "widgetType": "INT",
                "index": 1,
                "parameters": {},
                "serialize": true
              },
              "value": 0
            },
            {
              "name": "operation",
              "type": "COMBO",
              "displayOrder": 2,
              "widget": {
                "widgetType": "COMBO",
                "index": 2,
                "parameters": {},
                "options": [
                  "==",
                  "!=",
                  "<",
                  ">",
                  "<=",
                  ">="
                ],
                "serialize": true
              },
              "value": ">"
            }
          ],
          "inputData": [],
          "outputData": [
            {
              "outputIndex": 0,
              "displayOrder": 0
            }
          ]
        }
      },
      "widgets_values": [
        0,
        0,
        ">"
      ]
    },
    {
      "id": 10,
      "type": "SaltBoolOperationNode",
      "title": "Continue When Both True",
      "pos": [
        510,
        400
      ],
      "size": [
        300,
        100
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "a",
          "type": "BOOLEAN",
          "link": 11,
          "widget": {
            "name": "a"
          }
        },
        {
          "name": "b",
          "type": "BOOLEAN",
          "link": 12,
          "widget": {
            "name": "b"
          }
        }
      ],
      "outputs": [
        {
          "name": "result",
          "type": "BOOLEAN",
          "links": [
            13
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "SaltBoolOperationNode",
        "salt": {
          "parentId": "5",
          "extent": "parent",
          "widgets": [
            {
              "name": "a",
              "type": "BOOLEAN",
              "displayOrder": 0,
              "widget": {
                "widgetType": "BOOLEAN",
                "index": 0,
                "parameters": {},
                "serialize": true
              },
              "value": false
            },
            {
              "name": "b",
              "type": "BOOLEAN",
              "displayOrder": 1,
              "widget": {
                "widgetType": "BOOLEAN",
                "index": 1,
                "parameters": {},
                "serialize": true
              },
              "value": false
            },
            {
              "name": "op",
              "type": "COMBO",
              "displayOrder": 2,
              "widget": {
                "widgetType": "COMBO",
                "index": 2,
                "parameters": {},
                "options": [
                  "a AND b",
                  "a OR b",
                  "a XOR b",
                  "NOT a"
                ],
                "serialize": true
              },
              "value": "a AND b"
            }
          ],
          "inputData": [],
          "outputData": [
            {
              "outputIndex": 0,
              "displayOrder": 0
            }
          ]
        }
      },
      "widgets_values": [
        false,
        false,
        "a AND b"
      ]
    },
    {
      "id": 11,
      "type": "SaltDisplayAny",
      "title": "Final A",
      "pos": [
        1760,
        220
      ],
      "size": [
        260,
        80
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "input_value",
          "type": "*",
          "link": 14
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "*",
          "links": null,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "SaltDisplayAny"
      }
    },
    {
      "id": 12,
      "type": "SaltDisplayAny",
      "title": "Final B",
      "pos": [
        1760,
        360
      ],
      "size": [
        260,
        80
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "input_value",
          "type": "*",
          "link": 15
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "*",
          "links": null,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "SaltDisplayAny"
      }
    }
  ],
  "links": [
    [
      1,
      1,
      0,
      2,
      0,
      "*"
    ],
    [
      2,
      2,
      0,
      5,
      0,
      "*"
    ],
    [
      3,
      3,
      0,
      4,
      0,
      "*"
    ],
    [
      4,
      4,
      0,
      5,
      1,
      "*"
    ],
    [
      5,
      5,
      0,
      6,
      0,
      "INT"
    ],
    [
      6,
      5,
      2,
      7,
      0,
      "INT"
    ],
    [
      7,
      6,
      0,
      5,
      2,
      "INT"
    ],
    [
      8,
      7,
      0,
      5,
      3,
      "INT"
    ],
    [
      9,
      6,
      0,
      8,
      0,
      "INT"
    ],
    [
      10,
      7,
      0,
      9,
      0,
      "INT"
    ],
    [
      11,
      8,
      0,
      10,
      0,
      "BOOLEAN"
    ],
    [
      12,
      9,
      0,
      10,
      1,
      "BOOLEAN"
    ],
    [
      13,
      10,
      0,
      5,
      4,
      "BOOLEAN"
    ],
    [
      14,
      5,
      1,
      11,
      0,
      "*"
    ],
    [
      15,
      5,
      3,
      12,
      0,
      "*"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "edgePathType": "bezier"
  },
  "viewport": {
    "x": 0,
    "y": 0,
    "scale": 0.7
  }
}
