State+Transistion+Diagram

A State Diagram is a type of diagram used in computer science with fields to describe the behaviour of systems. The basic idea is to define a machine that has a number of states (hence the term finite state machine). The machine receives events from the outside world, and each event can cause the machine to transition from one state to another.

State diagrams are used to give a description of the behaviour of a system. This is represented in series of events, that could occur in one or more possible states. Hereby "each diagram usually represents objects of a single class and track the different states of its objects through the system".