Taxi Booking System (UML Sequence Diagram)
An example of a UML sequence diagram for a taxi booking system. It shows interactions between customers, taxi drivers, apps, and the taxi system server.
Sequence Diagram for Taxi Booking System
The example shows the lifelines of a taxi booking system and the interactions between them. It shows the process of ordering a taxi ride. A customer can choose a pick-up point, destination, and time of pick up.
Taxi Booking System (UML Sequence Diagram)
The diagram shows these lifelines:
- Customer
- Taxi Customer App
- Taxi Management Server
- Taxi Driver App
- Taxi Driver
There are these interactions between the lifelines:
- Choose a pick-up point
- Choose destination
- (Optional) Later transfer
- Choose time
- (Loop) Order is not accepted and the customer does not close app
- Confirm order
- Send order
- Find free drivers
- Send order notification to free drivers
- Show order notification
- (Optional) No taxi driver available
- Choose extra fee
- (Alternative 1) Taxi driver interested
- Accept the order
- Send acceptance
- Notify acceptance
- (Alternative 2)Taxi driver not interested
- Reject the order
- Send rejection
- Notify rejection
- (Loop) Customer is waiting for the taxi
- Send GPS coordinates of the taxi vehicle
- Retrieve GPS coordinates of taxi vehicle
- Show location of taxi vehicle on the map
- Send GPS coordinates of the customer
- Retrieve GPS coordinates of the customer
- Show customer location on the map
UML Sequence Diagram Concepts
The sequence diagram example shows lifelines and actor lifelines, call messages, reply messages, and a self message. There are several fragments - opt for optional parts, loop for repeated parts, and alt for alternative parts.
Download UML Tool
If you are new here, you may be interested in our UML tool, which you can use to open the example above:
Ali 18 February 2021 19:06:50
Taxi Booking System (UML Sequence Diagram)