**UML Tutorials - Herong's Tutorial Examples** - v1.03, by Dr. Herong Yang

State Machine Diagram - State Notation

This section describes the State Notation used in a UML State Machine Diagram. A State Notation presents a situation during which the modeled object meets an invariant condition.

A State Notation is the primary graphical notation used in a UML State Machine Diagram to represent a situation during which the modeled object meets an invariant condition.

A State Notation is drawn as a rectangle shape with slightly rounded corners. State name is placed inside the rectangle. For example, "Locked" is a state of a "Door" object during which the "door is locked" invariant condition is always true. This state can be drawn as a State Notation in a UML State Machine diagram as shown below:

Table of Contents

Introduction of UML (Unified Model Language)

UML Class Diagram and Notations

UML Activity Diagram and Notations

UML Sequence Diagram and Notations

►UML State Machine Diagram and Notations

What Is a State Machine Diagram?

►State Machine Diagram - State Notation

State Machine Diagram - Pseudostate Notations

State Machine Diagram - Transition Notation

State Machine Diagram - Transition Sequence Notations

UML Use Case Diagram and Notations