marionette-tg / marionette

the programmable network proxy
Apache License 2.0
112 stars 18 forks source link

Explicit loop back to start state from end state #22

Open coulls opened 9 years ago

coulls commented 9 years ago

Currently, model execution implicitly returns to the start state of the model after reaching the end state, effectively creating an infinitely running model. It would be a better user experience if the behavior needed to be explicitly described in the model format with a transition from the end state to the start state (with associated action blocks). With this new approach, model execution would halt if it reaches an end state that has no outgoing transitions.