@xstate/graph
XState graph utilities
Last updated 7 years ago by davidkpiano .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @xstate/graph 
SYNC missed versions from official npm registry.

@xstate/graph

This package contains graph algorithms and utilities for XState machines.

Quick start

  1. Install xstate and @xstate/graph:
npm install xstate @xstate/graph
  1. Import the graph utilities. Example:
import { createMachine } from 'xstate';
import { getSimplePaths } from '@xstate/graph';

const machine = createMachine(/* ... */);
const paths = getSimplePaths(machine);

Current Tags

  • 1.4.0                                ...           latest (4 years ago)
  • 1.0.0-rc1.1                                ...           next (7 years ago)

12 Versions

  • 1.4.0                                ...           4 years ago
  • 1.3.0                                ...           5 years ago
  • 1.2.0                                ...           6 years ago
  • 1.1.0                                ...           6 years ago
  • 1.0.0                                ...           6 years ago
  • 1.0.0-rc1.1                                ...           7 years ago
  • 1.0.0-rc1                                ...           7 years ago
  • 0.2.1                                ...           7 years ago
  • 0.2.0                                ...           7 years ago
  • 0.1.0                                ...           7 years ago
  • 0.0.2                                ...           7 years ago
  • 0.0.1                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 2
This Month 4
Last Day 1
Last Week 2
Last Month 0
Dependencies (1)
Dev Dependencies (14)
Dependents (2)

Copyright 2013 - present © cnpmjs.org | Home |