Sequential flow

State A
State B
State C
State D

This example navigates 4 states using only 2 actions, next and back.

Transitions are dependent on current state, thus multiple transitions can be described using the same action, as long as the from and to states are different:

'next : a > b'
'next : b > c'
'next : c > d'

etc...