Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/statelyai/xstate-viz

Visualizer for XState machines
https://github.com/statelyai/xstate-viz

hacktoberfest state state-machine state-management typescript visualization workflow xstate

Last synced: 8 days ago
JSON representation

Visualizer for XState machines

Awesome Lists containing this project

README

        

# XState (Legacy) Visualizer

Visualize [XState](https://stately.ai/docs/xstate) state machines and statecharts in real-time.

[🪄 Use the new Stately visual editor](https://state.new?source=viz-readme)
[🔗 Use the legacy Visualizer](https://stately.ai/viz).

## Usage

[Visit stately.ai/viz to use the Visualizer](https://stately.ai/viz?source=viz-readme).

Alternatively, you can install it locally (see installation)

## Features

- Create XState machines in JavaScript or TypeScript right in the visualizer
- Simulate machines visually by clicking on events
- Pan and zoom into the visualized machine
- View current machine state
- View list of events sent to the simulated machine
- Access quick features via the command palette: cmd/ctrl + k
- Inspect machines by setting `url: 'https://stately.ai/viz?inspect'` in `@xstate/inspect`

## Installation

1. Clone this GitHub repo
1. Run `yarn install`
1. Run `yarn start` and visit [localhost:3000/viz](http://localhost:3000/viz)

## Releases

https://www.loom.com/share/5357e00577e64387b45de8ee65cb3805