Traian Șerbănuță
2025
UML behavioral diagrams
Sequence diagrams
Elements of a behavioral diagram of a vehicle reservation system
How –and in what order– a group of objects works together.
Also known as
Used by both software developers and business professionals, to
Model
behaviors of a system
how these are related
(in the overall flow of the system).
Activities can be:
Model users interacting with the system
Powerful tools for making a system as efficient as possible.
Model how components communicate and interact
Useful for
Activity diagram where nodes are interaction diagrams
Diagrams used as nodes
Useful for representing state machines.
How –and in what order– a group of objects works together.
Also known as
Used by both software developers and business professionals, to
Draw a diagram of how your system could be used.
Explore the logic of any function, procedure, or complex process.
Viewing a service as a high-level method used by different clients.
Symbol | Name | Description |
---|---|---|
Synchronous message | sender waits for response before it continues | |
Asynchronous message | don’t require response before continuing. Only the call should be included in the diagram | |
Create message (asyncronously) | creates a new object | |
Reply message | replies to calls | |
Delete message | destroys an object |
Model (using a sequence diagram) the possible scenarios of a Customer purchasing a Product using an online shopping system:
A Customer browses/searches the Catalog, adds and/or removes Products into a Cart (updating the stocks), then goes to a Checkout page which gets its credentials from a Login (which verifies/requires that the user is logged in), allows it to select payment/shipping info, and returns to the customer an order number to allow tracking the order.