{
  "version": 0.4,
  "last_node_id": 6,
  "last_link_id": 7,
  "nodes": [
    {
      "id": 1,
      "type": "SaltTextInput",
      "title": "Text",
      "pos": [
        40,
        210
      ],
      "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": [
        "10"
      ]
    },
    {
      "id": 2,
      "type": "SAIPrimitiveConverter",
      "title": "Convert To Int",
      "pos": [
        360,
        220
      ],
      "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": "SaltIfNodeSimpleLoop",
      "title": "Do While Loop",
      "pos": [
        700,
        80
      ],
      "size": [
        860,
        520
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [
        {
          "name": "open_value_1",
          "type": "*",
          "link": 2
        },
        {
          "name": "close_value_1",
          "type": "*",
          "link": 4
        },
        {
          "name": "condition",
          "type": "BOOLEAN",
          "link": 6
        }
      ],
      "outputs": [
        {
          "name": "value_1_true",
          "type": "*",
          "links": [
            3
          ],
          "slot_index": 0
        },
        {
          "name": "value_1_false",
          "type": "*",
          "links": [
            7
          ],
          "slot_index": 1
        }
      ],
      "properties": {
        "Node name for S&R": "SaltIfNodeSimpleLoop",
        "salt": {
          "widgets": [],
          "inputData": [
            {
              "name": "open_value_1",
              "displayOrder": 0
            },
            {
              "name": "close_value_1",
              "displayOrder": 1
            },
            {
              "name": "condition",
              "displayOrder": 2
            }
          ],
          "outputData": [
            {
              "outputIndex": 0,
              "displayOrder": 0
            },
            {
              "outputIndex": 1,
              "displayOrder": 1
            }
          ],
          "additionalData": {
            "nodeIds": [
              "4",
              "5"
            ]
          }
        }
      }
    },
    {
      "id": 4,
      "type": "SaltIntMathOperation",
      "title": "Decrement",
      "pos": [
        120,
        130
      ],
      "size": [
        320,
        110
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [
        {
          "name": "a",
          "type": "INT",
          "link": 3,
          "widget": {
            "name": "a"
          }
        }
      ],
      "outputs": [
        {
          "name": "result",
          "type": "INT",
          "links": [
            4,
            5
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "SaltIntMathOperation",
        "salt": {
          "parentId": "3",
          "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": 5,
      "type": "SaltIntConditions",
      "title": "Continue While > 0",
      "pos": [
        120,
        290
      ],
      "size": [
        280,
        90
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
        {
          "name": "a",
          "type": "INT",
          "link": 5,
          "widget": {
            "name": "a"
          }
        }
      ],
      "outputs": [
        {
          "name": "result",
          "type": "BOOLEAN",
          "links": [
            6
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "SaltIntConditions",
        "salt": {
          "parentId": "3",
          "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": 6,
      "type": "SaltDisplayAny",
      "title": "Final Counter",
      "pos": [
        1640,
        250
      ],
      "size": [
        280,
        80
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "name": "input_value",
          "type": "*",
          "link": 7
        }
      ],
      "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,
      3,
      0,
      "*"
    ],
    [
      3,
      3,
      0,
      4,
      0,
      "INT"
    ],
    [
      4,
      4,
      0,
      3,
      1,
      "INT"
    ],
    [
      5,
      4,
      0,
      5,
      0,
      "INT"
    ],
    [
      6,
      5,
      0,
      3,
      2,
      "BOOLEAN"
    ],
    [
      7,
      3,
      1,
      6,
      0,
      "*"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "edgePathType": "bezier"
  },
  "viewport": {
    "x": 0,
    "y": 0,
    "scale": 0.75
  }
}
