this is incredible. is there a bigger tool framework this is aimed at? or at leaszt a gradle/maven plugin for the home gamer?
02/20/2020, 7:39 AM
I am working on the gradle plugin for generating the visualisations should not be too long now.
The main aim with KFSM is support all Kotlin platforms.
The gradle plugin will obviously be able to render any of the definitions because it parses the code in question in order to obtain the full lambdas for actions and guard expressions.
i noticed the fsm's being drawn conform to a convention. fwiw i'm in agreement with what i know of it so far. is there any genre of coding that applies to the conventions?
02/21/2020, 8:12 AM
Go look at the samples to see how to define and use the FSMs. KFSM provides a DSL for defining an FSM which you can then instanciate and use. In some case like UI you may want to keep the FSM instance active. In the backend you want to externalise the state and supply the state when instanciating the FSM before use.