Diagram Desk

Online shop use case diagram

Buyers, sellers and the payment gateway in an online shop. Ordering includes paying; using a coupon optionally extends paying.

The diagram

Search productsPlace orderList productsCheck ordersPayUse coupon«include»«extend»Online shopBuyerSellerPayment gateway
Use case diagram · 10 shapes

Reading it step by step

  • The system boundary is 'Online shop'.
  • Actor 'Buyer' uses 'Search products', 'Place order'.
  • Actor 'Seller' uses 'List products', 'Check orders'.
  • Actor 'Payment gateway' uses 'Pay'.
  • 'Place order' always includes 'Pay'.
  • 'Use coupon' extends 'Pay' under a condition.

Shape by shape

ShapeSymbolConnections
Online shopSystem boundary-
BuyerActor→ Search products, Place order
SellerActor→ List products, Check orders
Payment gatewayActor→ Pay
Search productsUse case← Buyer
Place orderUse case→ Pay · ← Buyer
List productsUse case← Seller
Check ordersUse case← Seller
PayUse case← Place order, Payment gateway, Use coupon
Use couponUse case→ Pay

Symbols used here

SymbolMeaning
ActorA user role or an outside system; a stick figure.
Use caseOne goal the user achieves; an oval.
System boundaryWhat the system covers; a large rectangle.
IncludeAlways run as part of the base use case.
ExtendAdded to the base only under a condition.

All use case diagram symbols and how to draw

Diagram text

Paste this text into the editor to get the same picture, then change the names to fit your own work.

# Online shop use case diagram
usecase
system Online shop
actor Buyer
actor Seller
actor Payment gateway
(Search products)
(Place order)
(List products)
(Check orders)
(Pay)
(Use coupon)
Buyer -- (Search products)
Buyer -- (Place order)
Seller -- (List products)
Seller -- (Check orders)
(Place order) ..> (Pay) : include
Payment gateway -- (Pay)
(Use coupon) ..> (Pay) : extend

More use case diagram examples

All SeewolLabs tools