Working with transitions

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