Statelyai Xstate Viz Versions Save

Visualizer for XState machines

v0.10.0

6 months ago

Minor Changes

v0.9.1

9 months ago

Patch Changes

v0.9.0

9 months ago

Minor Changes

v0.8.6

1 year ago

Patch Changes

v0.8.5

1 year ago

Patch Changes

  • 60a35a2 Thanks @mellson! - Screenshots now have a better quality and are cropped to the machine.

v0.8.2

1 year ago

Patch Changes

v0.8.1

1 year ago

Patch Changes

v0.7.0

2 years ago

Minor Changes

  • #293 67e24ae Thanks @jacksteamdev! - You can now inspect via WebSocket. To do that you can add the WebSocket server url as a query parameter, for example https://stately.ai/viz?inspect&server=ws://localhost:3000

Patch Changes

  • #343 632f950 Thanks @Andarist! - Fixed panning/dragging interations (the ones that include pressing pointer down) in FireFox.

v0.5.1

2 years ago

Patch Changes

  • #332 9f93d67 Thanks @Andarist! - Fixed the app crashing when processing invalid actions - like when using a guard accidentally in a place of an action.
  • #334 fecdc01 Thanks @davidkpiano! - Self-transitions on the machine will no longer cause graph layout to fail:

    import { createMachine } from 'xstate';
    
    const machine = createMachine({
      on: {
        // These will now display as expected
        LOAD: {},
        UPDATE: {},
      },
      states: {
        something: {},
      },
    });
    

v0.5.0

2 years ago

Minor Changes

  • #269 0f8e205 Thanks @Andarist! - A possibility to start panning the canvas by pressing the middle button of a mouse has been added.
  • #237 7599a26 Thanks @rthor, @Andarist! - Added more keyboard interactions to the canvas:

    • arrows () can be used to move the canvas around (with Shift the step move is increased)
    • +/- can be used to zoom in/out
    • Shift + 1 can be used to fit the machine on the canvas
  • #315 f98ce3f Thanks @farskid! - Tweak controls options in embed mode

    • RESET and Fit To View are now available in all embed modes with controls=1
    • Zoom in and out buttons are only available if controls and Zoom are both enabled
    • Hand tool (pan button) is only available if controls and pan are both enabled
    • Reset canvas button and Help button are no longer available in embed mode

Patch Changes

  • #298 0c3bfec Thanks @christoph-fricke! - Align the visualization of custom actions with the visualization of XState-provided actions. Previously, the labels for custom actions were not rendered with a bold font.
  • #312 d10238a Thanks @Andarist! - Updated XState to its latest version (4.26.0). Visualizer should be able to use the new goodies now, such as it should provide access to the invoke.meta object in the invoke creators.
  • #303 2cb5ccf Thanks @mattpocock! - Fixed an issue where events were being duplicated in the right-hand events panel.