A pure Elm implementation of statecharts designed to hook directy into The Elm Architecture update function.
Decode a stored StateModel.
Encode the StateModel into a value ready to be stored in the main model.
Make the top level statechart
Make a compound state from a StateConfig
Make a state from a StateConfig
The identity action that does nothing
An empty StateModel; this is the initial value in the model.
Start the statechart in its starting state. This can fail in the case of a badly configured statechart.
Step through the statechart in response to an incoming message. This can fail in the case of non-existant state names.