{
  "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": "compareValue",
          "x": 300,
          "y": 80,
          "valueType": "boolean",
          "expected": false,
          "operator": "eq"
        },
        {
          "id": "check",
          "type": "condition",
          "x": 560,
          "y": 80,
          "state": "closed"
        },
        {
          "id": "open",
          "type": "state",
          "x": 820,
          "y": 80,
          "targetState": "open"
        }
      ],
      "edges": [
        {
          "from": "sample",
          "to": "check",
          "output": "result",
          "kind": "data",
          "input": "test"
        },
        {
          "from": "start",
          "to": "check",
          "output": "next",
          "kind": "execution"
        },
        {
          "from": "check",
          "to": "open",
          "output": "true",
          "kind": "execution"
        }
      ]
    }
  }
}
