Home > Diagrams > Sequence Diagram

Sequence Diagram example


Below is a sequence diagram for making a car reservation using a browser.
The object initiating the sequence of message is a reservation internet browser.
The internet browser sends a makeReservation() message to a travel agency, which sends a makeReservation() message to a car rental reservation. If the car is available, then it makes a Reservation and a Confirmation.
Each vertical line represents the time that an object exists. Each arrow is a message call. An arrow goes from the sender of the activation bar of the message on the receiver's lifeline. The activation bar represents the duration of execution of the message.
The car rental reservation issues a self call to determine if a car is available. If so, the car rental reservation makes a Reservation and a Confirmation.







The file deployment diagram extension is *.usd.
Notes can be included.