UML 2.0 has 13 different types of diagrams, articulated in two groups: structural and behavioral. Structural diagrams define classes as well as their attributes, operations, and relationships. Behavioral diagrams show collaborations among objects as required by the system. Table 2-2 lists all UML diagrams available.
Table 2-2. Diagrams in UML 2.0
Diagram
Category
Purpose
Activity
Behavior
Shows the flow of operations in an activity
Class
Structure
Shows classes, interfaces, and relationships within a system
Communication
Behavior
Shows the interaction between objects
Component
Structure
Shows components and their dependencies
Composite structure
Structure
Shows the internal structure of a class
Deployment
Structure
Shows how components are mapped to hardware resources
Interaction overview
Behavior
Shows sequences and activities
Object
Structure
Shows a view of the system at a particular time
Package
Structure
Shows how classes are split into logically related groups
Sequence
Behavior
Shows the interaction between objects
State machine
Behavior
Shows how the state of objects changes after events
Timing
Behavior
Shows the behavior of objects in a period of time
Use case
Behavior
Shows what actors perform which action in the system
UML DiagramsUML 2.0 has 13 different types of diagrams, articulated in two groups:structural and behavioral. Structural diagrams define classes as well as their attributes, operations, and relatio