MyMisPal
← Systems analysis lessons
Lesson 8 of 11

Use case diagrams (UML)

A use case diagram (UML) shows who uses the system and what they can do, without the “how”. Analysts draw it early because customers understand it easily.

Café ordering app«include»«extend»Browse menuPlace orderTrack orderApply couponPay onlineUpdate statusSales reportStudentPayment gatewayBaristaManager
ActorA person or external system that interacts, such as the payment gateway.
Use caseA goal the actor achieves; named with a verb, drawn as an oval.
System boundaryThe rectangle: what's inside is part of the system.
«include»Always happens: “Place order” includes “Pay online”.
«extend»Optional, under a condition: “Apply coupon” extends “Place order”.
Spotted a mistake on this page, or have an idea to improve the site?