xstate-viz
xstate-viz copied to clipboard
How to use the Viz in a simple html page
Hello, I'm trying to find documentation on how to put the Viz to work in a simple html page, but I can't find any.
Something like:
- add a script src
- code to configure the options
- code to start the machine inside it
Additionally, it's not clear if this exists in the component: enable editing the designer (drag-dropping the elements, for example).
Is it possible?
Hey! Have you tried using an iframe?