xstate-viz icon indicating copy to clipboard operation
xstate-viz copied to clipboard

Is there a way to show a VSCode Webview of the machine visualizations?

Open suesther opened this issue 2 years ago • 0 comments

I know there is already a vscode extension of Xstate Visualizations, but I find it to be more buggy than the website visualizations; I also think the website visualization is much cleaner and aesthetically pleasing. I tried generating the javascript and html code for the website in VSCode through the next build command, but I'm finding it difficult to generate the webview in VSCode with the source files that are generated. These are all the source files generated from building inside of vscode.

Screenshot 2023-07-24 at 2 21 34 PM Ideally, I would want to generate visualization based on a source code inside of the vscode repository, and everytime that source code changes, it reloads the visualization. Is this possible and does anyone have advice?

suesther avatar Jul 24 '23 21:07 suesther