Skip to main content
ZhimaYuandi

UML diagram lab

A suggested first path

  1. 1. UML Use Case Lab
  2. 2. UML Class Diagram Lab
  3. 3. UML Object Diagram Lab
  4. 4. UML Sequence Diagram Lab
  5. 5. UML Communication Diagram Lab
  6. 6. UML Activity Diagram Lab
  7. 7. UML State Machine Lab
  8. 8. UML Package Diagram Lab
  9. 9. UML Component Diagram Lab
  10. 10. UML Deployment Diagram Lab
  11. 11. UML Composite Structure Diagram Lab
  12. 12. UML Interaction Overview Diagram Lab
  13. 13. UML Timing Diagram Lab
  14. 14. UML Profile Diagram Lab

A learning suggestion: enter any topic directly or choose a diagram by your question below.

UML / MODEL THE SAME SYSTEM

One system, fourteen perspectives

Start with an order case. Choose the question you want to answer, then explore its diagram. Classes define types, objects show instances, and state machines explain change.

Interaction diagrams are a subset of behavior diagrams. The four interaction types are already included in the seven behavior types.

14 / 14 diagram types

Structure 7

Open topic →
Open topic →
Open topic →
Open topic →
Open topic →
Open topic →
Open topic →

Behavior 7

Open topic →
Open topic →
Open topic →
Open topic →
Open topic →
Open topic →
Open topic →

Connect types, instances and behavior

  1. 01

    Class: Order defines attributes such as number and status.

  2. 02

    Object: o1:Order has number A1001 and status pending.

  3. 03

    State machine: a payment event and guard determine whether this order can become paid.

Related diagrams express different semantics. Examples are checked across views; view switching does not imply automatic conversion of arbitrary models.

Continue learning