UML (Unified Modeling Language) is a standard way to visualise a system design.
| Structural | Behavioural |
|---|---|
| Class diagram — classes, attributes, methods, relationships | Use case diagram — actors and what they can do |
| Object diagram — objects at one moment | Sequence diagram — messages between objects over time |
| Component diagram | Activity diagram — workflow, like a flowchart |
| Deployment diagram — hardware nodes | State machine diagram — states of an object |
- Class relationships: association (line), inheritance (hollow triangle), aggregation (hollow diamond), composition (filled diamond), dependency (dashed arrow).
- Visibility:
+public,-private,#protected.