A behavioral UML diagram that shows how objects exchange messages over time.
Sequence diagrams show object interactions in a scenario. Lifelines run top to bottom. Arrows are messages. Use them for APIs, checkout flows, and service calls. This gallery page is an example plus a short how-to in UML Diagram Studio. For a long tutorial, read the sequence diagram blog post.
A user or external system that starts the interaction.
A vertical line showing an object or participant over time.
A call, signal, or return between lifelines.
A bar on a lifeline showing when that object is busy.
Combined fragments for conditions and repetition.
Go to the homepage editor. No install is required.
Use actor and participant aliases so names stay short.
@startuml
actor Customer
participant "Order Service" as Order
participant "Payment" as Pay
@endumlSolid arrows are calls. Dashed arrows are returns.
Customer -> Order: Place order
Order -> Pay: Charge card
Pay --> Order: OK
Order --> Customer: ConfirmationWatch the live preview, then export PNG or SVG.
@startuml
actor Customer
participant "Order Service" as Order
participant "Payment Service" as Pay
participant "Inventory" as Stock
Customer -> Order: Create order
activate Order
Order -> Stock: Check stock
Stock --> Order: Available
Order -> Pay: Charge
Pay --> Order: Success
Order --> Customer: Confirmed
deactivate Order
@enduml