{"version":"1.0","type":"rich","title":"Generated by XState Viz: https://xstate.js.org/viz","description":"This example shows a parallel state machine for user management, with three concurrent sub-machines tracking login status, user data loading, and client data loading. XState Viz renders the machine definition into an interactive diagram, displaying each sub-machine’s states and transitions. The code uses the `Machine` and `interpret` APIs from XState to define a `userManagement` machine with parallel states, where events like `LOGIN_SUCCESS` and `LOGOUT` trigger coordinated transitions across all three regions. The visualization updates live to reflect the current state configuration.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-3cd7ae902cc5c8b9f6a774c41628bad8?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}