statelyai / xstate-viz

Visualizer for XState machines
https://stately.ai/viz
MIT License
434 stars 102 forks source link

How to use the Viz in a simple html page #405

Open avataron opened 1 year ago

avataron commented 1 year ago

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:

Additionally, it's not clear if this exists in the component: enable editing the designer (drag-dropping the elements, for example).

Is it possible?

andreszapatavff commented 1 year ago

Hey! Have you tried using an iframe?