The most useful, standard UML diagrams are: use-case diagram, class
diagram, sequence diagram, statechart diagram, activity diagram,
component diagram, and deployment diagram.
Different domains use some more than others.
When to Use UML
Planning new systems / functionality
Documenting existing systems
Training new team members
Communicating with stakeholders
Safety critical systems
Regulatory compliance
Diagram Types
Use Case Diagram
Description
Represent functionality, actors, and how these relate to each other in
the context of a system.
"High level" scope; not much detail.
Useful for planning new functionality.
Useful for communicating with stakeholders.
Key components
Actors
Use cases
Relationships between actors and use cases
*Optionally, relationships between use cases (includes / extends)
System boundaries
Class Diagram
Description
Shows how entities (classes) in a system relate to each other.
Classes contain self-describing attributes and methods.
Connectors between classes show cardinality; how many
of one class can be related to another class.