xstate-viz
xstate-viz copied to clipboard
Visualizer for XState machines
It's a follow up to https://github.com/statelyai/xstate-viz/pull/110#discussion_r679763589
they are blocked by 'in' definition in that machine
**Description** Assume following machine: ```js import { createMachine } from 'xstate'; const machine = createMachine( { id: 'doorman', initial: 'idle', states: { idle: { on: { ACTIVE_MEETING: 'working', }, },...
**Description** I needed to provide a reproduction of an issue I was having while building a machine and actor system. I started copying the machine over into the new viz,...
**Description** If a transition is not possible because the 'in' property of the event/transition description does not allow it, it should not be visualized as a 'potential' transition **Expected Result**...
If: * you have a transition that executes an action, * that action includes a call to `actions.pure()`, and * the code wrapped in `actions.pure()` has side effects, Then: *...
**Description** When trying to visualize my machine, the visualizer has a non-stop spinner with "Visualizing machine..." There are several `TypeError`s in the console relating to `elk.bundled.js`:  **Expected Result** If...
**Description** ``` yarn install npm start ``` **Actual Result** ``` [start:app] error - ./src/authMachine.ts:13:0 [start:app] Module not found: Can't resolve './graphql/GetLoggedInUserData.generated' [start:app] 11 | } from 'xstate'; [start:app] 12 |...
As per @farskid request in Discord
Comment pasted here for ease: ``` /** * Displays a view-only page which can render a machine * to the canvas from the URL * * Use this example URL:...