statelyai / xstate-tools

Public monorepo for XState tooling

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Export machine from VSCode to be imported to the online editor while maintaining the same layout and vice versa

marssantoso opened this issue · comments

commented

Not sure if that's currently possible, but I tried different ways with no avail.

If I don't care about the layout, sure that works. But since my machine is so complex, I want the same representation in both VSCode and the online editor, so I could share it with non-devs without having to relearn the placements of each state.

The same is also true the other way around. If I make changes to the layout from the online editor, is there currently any way to export the machine and import it back to VSCode? If there is, please enlighten me.

Edit: to make it clear, the online editor I refer to is specifically the Stately Studio, not the Visualizer or any other online editor.

commented

Not sure if I was missing an update/version, but this is now possible... for some reason. Closing it now.