xstate-diagram
v0.2.1 • Pure-JS ELK + XState v5
$ npx xstate-diagram machine.ts -o diagram.svg
Preset:
Direction:
AUTO (Adaptive)
RIGHT (Horizontal)
DOWN (Vertical)
Copy SVG
Download .svg
GitHub ↗
XSTATE V5 MACHINE CONFIG (JSON)
Live rendering
Ready
100% Browser-Free Runtime • Deterministic SVG Statechart Engine