santicros / xstate-viz

Visualizer for XState machines

Home Page:https://stately.ai/viz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

XState Visualizer

Visualize XState state machines and statecharts in real-time.

đź”— Use the Visualizer.

Usage

Visit stately.ai/viz to use the Visualizer.

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
  • Save your machines in the Stately Registry
  • And many more upcoming features

Installation

  1. Clone this GitHub repo
  2. Run yarn install
  3. Run npm start and visit localhost:3000

About

Visualizer for XState machines

https://stately.ai/viz


Languages

Language:TypeScript 96.1%Language:SCSS 1.9%Language:JavaScript 1.5%Language:Shell 0.3%Language:CSS 0.2%