Skip to content
He, Jiehui edited this page Nov 16, 2023 · 1 revision

Description

Xross State Machine Edtitor is a no-code tool for building state machine. To create a state machine, follow these steps:

  1. create state machine mnodel file from file -> new -> Xross State Machine
  2. Create a state machine and give it a name in properties.
  3. Create start node, state node and end node in the state machine you created.
  4. Link nodes with transition
  5. Create event and bundle to the transition.
  6. 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.

Getting start

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!

Clone this wiki locally