UML Diagram Notation
Three Perspectives on One Class
StructureOne Order class as concept, as interface, and as code.
Class Notation
StructureThe compartments, visibility markers, and parameter directions of a class box.
Class Relationship Notation
RulesThe six relationship lines and their arrowheads and diamonds.
Class Diagram for the Order Domain
StructureThe order domain with all six relationship kinds.
Component Notation
StructureLollipop, socket, and port notation on one component.
Component Diagram for Online Store
StructureFive components of the Online Store and their interfaces.
Deployment Diagram for Online Store
C4 · DeploymentArtifacts on nodes, with protocols and network zones.
Sequence Diagram for Checkout
C4 · DynamicOne checkout scenario with activations, fragments, and a destroyed lifeline.
Activity Diagram Notation
RulesThe glyphs of an activity diagram, including decision versus merge.
Activity Diagram for Order Fulfilment
FlowOrder fulfilment with a decision, a fork, and a join.
The Same Flow, Partitioned
FlowThe same flow in partitions, one per role.
State Machine for an Order
State machineThe states of an order and the events between them.
Use Case Notation
StructureActors, use cases, and the system boundary.
Include, Extend, and Generalization
RulesWhich way include, extend, and generalization each point.
Found this useful? Share it:
Share on LinkedIn