## Idea It should be possible to visualize Machines using [@xstate/inspect](https://xstate.js.org/docs/packages/xstate-inspect). ## Research - of course David thought of Visualizer Integration: https://xstate.js.org/docs/packages/xstate-inspect/#implementing - more implementation details for the protocol can be found at: https://github.com/statelyai/xstate/blob/main/packages/xstate-inspect/src/browser.ts - there is also experimental support for the [Visualizer from node.js](https://github.com/statelyai/xstate/discussions/1795) (same as we need), due to https://github.com/statelyai/xstate/pull/1770 - as documented by @thomasaull, https://statecharts.io/inspect supports connecting to a websocket connection directly via **https://statecharts.io/inspect?server=localhost:8888** - a Visual Studio Integration can be achieved by utilizing [Microsoft Edge WebView2](https://docs.microsoft.com/en-us/microsoft-edge/webview2/) as done by @madskristensen in his [Markdown Editor Plugin](https://github.com/madskristensen/MarkdownEditor/blob/master/src/MarkdownEditor.Shared/Margin/Browser.cs)
Idea
It should be possible to visualize Machines using @xstate/inspect.
Research