statelyai / xstate

Actor-based state management & orchestration for complex app logic.
https://stately.ai/docs
MIT License
26.58k stars 1.22k forks source link

xState visualizer not supporting internal transitions #128

Closed ShMcK closed 5 years ago

ShMcK commented 6 years ago

Bug

xState visualizer doesn't seem to be supporting internal transitions.

Steps To Reproduce:

Copy the internal transition example code and paste it into the visualizer.

lydia-schow commented 6 years ago

I also encountered this issue exporting a deeply nested statechart from sketch.systems to the visualizer.

davidkpiano commented 6 years ago

Add the initial: 'direction' property to the top-level state to visualize it. I'll fix the docs.