Working with transitions

Transitions depict the movement from one state to another. A transition from one state to another occurs when certain conditions are met. Typically, a transition is labeled with the event that causes the transition.