refactor(state-machine): support multiple lifecycles per blueprint
Blueprint.stateMachine becomes stateMachines[], the viewer renders each machine in its own panel, and StateMachine draws self-loops (a === b) for recurring transitions that don't change state. Existing blueprints move to the array form unchanged.
This commit is contained in:
@@ -226,5 +226,5 @@ export const list: Blueprint = {
|
||||
],
|
||||
},
|
||||
|
||||
stateMachine: LOADSTATE_MACHINE,
|
||||
stateMachines: [LOADSTATE_MACHINE],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user