sonntam / node-red-contrib-xstate-machine

A xstate-based state machine implementation using state-machine-cat visualization for node red.
MIT License
22 stars 8 forks source link

update to xstate 5.x #108

Open hipitihop opened 4 months ago

hipitihop commented 4 months ago

Many thanks for the work on this. I notice that xstate 5.x is out and I wonder if you have had time to look at what may be involved ?

sonntam commented 3 months ago

Thank you for your comment. I follow the development of xstate and their transition to V5 in a fragmentary manner. From what I can see there are changes that break compatibility with state machine definitions that were made for V4. If I update this package to xstate 5 all users would have to redo their charts.

I still have to wrap my head around the interconnected actor methodology. The visualization part is something that would require a lot of work as well, i.e. adding the ability to visualize actor instances. Probably it would be best to use the xstate viz tools

However, these are made for V4 - now considered as legacy - and as far as I can see the viz tool for V5 state charts is not open-source anymore.