A state transition is one step of a finite state machine: at an active clock edge the machine leaves its present state and enters its next state. In a state diagram each transition is an arrow, labeled with the input that selects it (and, for a mealy machine, the output produced along the way).
Three rules keep transitions straight:
- Exactly one per edge. At each clock edge the machine takes exactly one transition. Even "staying put" is a transition, a self loop.
- One per input value. In a complete diagram, every state has one outgoing transition for each input combination, so the next step is never ambiguous.
- One-way. An arrow from S0 to S1 says nothing about how to get back.
Tracing a machine means following transitions one input at a time, starting from the initial state, and writing down the state after every step.