-
Notifications
You must be signed in to change notification settings - Fork 19
Home
He, Jiehui edited this page Nov 16, 2023
·
1 revision
Xross State Machine Edtitor is a no-code tool for building state machine. To create a state machine, follow these steps:
- create state machine mnodel file from file -> new -> Xross State Machine
- Create a state machine and give it a name in properties.
- Create start node, state node and end node in the state machine you created.
- Link nodes with transition
- Create event and bundle to the transition.
- Use runtime to load the model and handle event in your application. You can download and play with the example to quick start with it. It demostrates how to use runtime and how to work with event.
Before started, first make sure you are familar with the concept of state machine. Then install this plugin and download sample project. If all went well, the runtime dependency of state machine should be automatically downloaded. Check out the sample state machine models in resources folder and run corresponding test code. Finally, feel free to create your own model, define state, event, transition, entry and exit action as you wish. Have fun!