UML Diagrams - Kamills-12/2143-OOP GitHub Wiki

UML Diagrams

Kade Miller


What’s UML?

UML = Unified Modeling Language. It’s how devs sketch out the blueprint of their system before coding. It shows what your system does.

Use UML to:

  • Plan class layouts
  • Show how objects communicate
  • Track user actions

Types of UML Diagrams:

Type What It Does When to Use It
Class Shows classes and their relationships Planning class structure or architecture
Sequence Shows flow of messages over time Mapping out object interactions
State Shows state changes in an object Visualizing different object modes
Use Case Shows user actions + system features Planning features from a user's POV

What It Does: Shows classes, attributes, methods, and how they relate.