The State diagram shows the events that cause a transition from one state of a class to another state. It is a network of states and events. State diagrams capture the class's received stimuli, responses, and actions. Each state receives one or more events, at which time the class transitions to the next state. The next state depends on the current state as well as the events.