Skip to content

open-jumpco/kfsm-android

Repository files navigation

KFSM Android Demo

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

Generated State Diagram

Simple Diagram

turnstile simple

Detail Diagram

turnstile

Generated State Table

TurnstileFSM State Map

Start Event[Guard] Target Action

LOCKED

COIN

UNLOCKED

{
unlock()
}

UNLOCKED

<<timeout = 3000>>

LOCKED

{
lockOnTimeout()
}

UNLOCKED

PASS

LOCKED

{
lock()
}

UNLOCKED

COIN

UNLOCKED

{
returnCoin()
}

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

Releases

No releases published

Packages

No packages published

Languages