[ { "id": "tab-scxml-p0", "type": "tab", "label": "SCXML P0", "disabled": false, "info": "" }, { "id": "scxml-conf-traffic", "type": "statechart-machine", "z": "tab-scxml-p0", "name": "Traffic Light", "source": "\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n\n", "engine": "sandboxed", "scriptTimeoutMs": 500, "maxMicrosteps": 10000, "x": 160, "y": 120, "wires": [] }, { "id": "inject-next", "type": "inject", "z": "tab-scxml-p0", "name": "next", "props": [ { "p": "topic", "vt": "str", "v": "next" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "next", "x": 120, "y": 220, "wires": [ [ "scxml-out-state" ] ] }, { "id": "scxml-out-state", "type": "statechart-hub", "z": "tab-scxml-p0", "name": "state", "machine": "scxml-conf-traffic", "includeVars": true, "emitInitial": true, "includeInternalSends": false, "stateTopic": "", "eventTopic": "statechart/{machine}/evt/{event}", "x": 330, "y": 320, "wires": [ [ "debug-state" ], [ "debug-events" ], [] ] }, { "id": "debug-state", "type": "debug", "z": "tab-scxml-p0", "name": "state", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "true", "targetType": "full", "statusVal": "", "statusType": "auto", "x": 560, "y": 300, "wires": [] }, { "id": "debug-events", "type": "debug", "z": "tab-scxml-p0", "name": "chart send", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "true", "targetType": "full", "statusVal": "", "statusType": "auto", "x": 560, "y": 360, "wires": [] } ]