The header for the state machine diagram is the same pentagonal shape that the other diagrams use. The diagram-kind field is stm, indicating a state machine. A state machine diagram can only have one state machine inside it. See Fig. 18.26. The second field in the stm header indicates the name of the classifier or behavior that follows the contained state machine. This is normally a class, though it can be a use case or operation.