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:
Julien Calixte
2026-07-02 23:52:03 +02:00
parent 7a60e57f46
commit 903e5465d5
8 changed files with 47 additions and 13 deletions

View File

@@ -202,5 +202,5 @@ export const grid: Blueprint = {
],
},
stateMachine: LOADSTATE_MACHINE,
stateMachines: [LOADSTATE_MACHINE],
}