Use Case Diagram
Definition: A Use Case Diagram is a UML diagram that shows the interactions between users (actors) and a system. It represents the functional requirements of a system from the user's point of view.
Use Case Diagram for Online Shopping
Actors: Customer, Admin, Payment Gateway, Delivery Service
ONLINE SHOPPING SYSTEM
┌───────────────────────────────────────────┐
│ │
Customer│───> (Register / Login) │
│───> (Browse Products) │
│───> (Search Products) │
│───> (Add to Cart) │
│───> (Place Order) │
│───> (Make Payment) <──── Payment Gateway │
│───> (Track Order) │
│───> (Cancel Order) │
│ │
Admin │───> (Manage Products) │
│───> (Manage Orders) │
│───> (Manage Customers) │
│ │
│ (Deliver Order) <──│── Delivery Service
│ │
└───────────────────────────────────────────┘
In short: The diagram shows what customers and other actors can do with the online shopping system, such as browsing products, placing orders, making payments, and managing products/orders.


0 Comments