This diagram is similar to UML
State Machine Diagram
.