{
  "version": 2,
  "kind": "door",
  "states": {
    "closed": {
      "appearance": "inherit"
    },
    "open": {
      "appearance": "inherit"
    },
    "locked": {
      "appearance": "inherit"
    }
  },
  "graphs": {
    "interact": {
      "nodes": [
        {
          "id": "start",
          "type": "event",
          "x": 40,
          "y": 80,
          "event": "interact"
        },
        {
          "id": "sample",
          "type": "switch",
          "x": 300,
          "y": 80,
          "valueType": "text",
          "value": "open",
          "cases": [
            {
              "id": "case1",
              "value": "open"
            }
          ]
        },
        {
          "id": "open",
          "type": "state",
          "x": 560,
          "y": 80,
          "targetState": "open"
        }
      ],
      "edges": [
        {
          "from": "start",
          "to": "sample",
          "output": "next",
          "kind": "execution"
        },
        {
          "from": "sample",
          "to": "open",
          "output": "case1",
          "kind": "execution"
        }
      ]
    }
  }
}
