Skip to content

Latest commit

 

History

History
69 lines (53 loc) · 1.13 KB

README.adoc

File metadata and controls

69 lines (53 loc) · 1.13 KB

KFSM Turnstile Sample for Spring MVC

88x31

A simple application to demonstrate implementing KFSM with the classic Turnstile FSM.

./gradlew bootRun

Generated State Models

TurnstileFSM State Map

Start Event[Guard] Target Action

[start]

UNLOCKED

LOCKED

COIN

UNLOCKED

{
unlock()
}

UNLOCKED

PASS

LOCKED

{
lock()
}

UNLOCKED

COIN

UNLOCKED

{
returnCoin()
}

Simple Turnstile State Diagram

turnstile simple

Turnstile State Diagram

turnstile


To learn more about visualization visit kfsm-viz and kfsm-viz-plugin