{"version":"1.0","type":"rich","title":"Generated by XState Viz: https://xstate.js.org/viz","description":"This example shows a state machine for a lamp with hidden and visible modes, where the visible state runs two parallel substates for color mode (light or dark) and brightness (bright or dim). The machine, defined with XState’s `Machine()` factory, transitions between states on events like `TURN_ON`, `TURN_OFF`, and `SWITCH`, while the bright state automatically dims after a 5000-millisecond delay defined in the `delays` option. The visualization, generated by XState Viz, renders the statechart diagram directly from the JavaScript object, highlighting the parallel regions and timed transition.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-c44cacefb9eab148b99ad9e26779d27d?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}