This example demonstrates assigning actions and states via "shorthand" notation:
Assigning multiple transitions can be done even quicker though; see the advanced shorthand notation example to see how.
Also check out the branching flow example to see how shorthand notation makes it easy to visualise non-trivial flows.
Note that shorthand notation is compiled to Object configuration internally.