| Diagram |
Kind |
Primary question answered |
| Package |
structural |
Which named group of code depends on which other group? Where are the compilation boundaries? |
| Class |
structural |
What types exist, what data do they hold, what operations do they expose, and how do they relate? |
| Component |
structural |
What independently deployable units exist, and which interfaces do they provide or require? |
| Sequence |
behavioral |
Which objects exchange messages, in what order, and what does each return? |
| Activity |
behavioral |
What is the flow of control through a process or algorithm, including branches and concurrency? |
| State |
behavioral |
What states can an object occupy, what events drive transitions, and what actions fire on entry or exit? |