Skip to content
BENIBIX Learn

Unified Modeling Language (UML)

Development🏗️ ArchitectureArchitecture Basics

Also known as UML, UML Diagram, UML Class Diagram

A set of standard drawings. They show how code is built and how it acts.

Think of it like

It is like the signs on a map. Everyone knows a blue line means a river.

Example

Lucy draws a sequence diagram for checkout. It shows the app, the payment service and the bank. Every message between them is shown in order.

Why it matters

A shared picture language means a diagram says the same thing to every reader. Teams can talk about a design before they build it.

Definition

The Unified Modeling Language is a standard set of drawings for showing how software is built and how it acts. A class diagram shows classes as boxes, with lines for how they link. A sequence diagram shows messages passing between parts over time. It is a standard from the Object Management Group. Its latest version, 2.5.1, came out in December 2017.
A UML class diagram, on the right: two classes and the line that links them.

Common mistake

Drawing every class in full detail. Big diagrams go out of date fast, so draw only what helps the talk you are having.

Key takeaways

  1. 1
    Structure diagrams. What the parts are.
  2. 2
    Behavior diagrams. What happens, in order.
  3. 3
    A shared standard. Same signs for everyone.

Compare