fsm icon indicating copy to clipboard operation
fsm copied to clipboard

add NewFSMFromTemplate

Open sjqzhang opened this issue 3 years ago • 2 comments

suppor create from template

template := `
1=New
2=Ready
3=Waiting
4=Running
5=Terminated
Admitted:1->2
Dispatch:2 -> 4
Interrupt:4->2
InputOutputoreventwait:4->3
InputOutputoreventcompletion:3->2
Exit:4->5
`

format as follow:

//for example:
action1:state1 -> state2
action2:state12-> state3
action3:state13-> state2

sjqzhang avatar Jul 30 '22 03:07 sjqzhang

Great idea! Is there some accepted syntax/DSL for defining state machines that could be used instead?

maxekman avatar Jul 31 '22 20:07 maxekman

Please take some time to answer the question from July.

maxekman avatar Oct 01 '22 13:10 maxekman