...

/

Use Case Diagram for the Vending Machine

Use Case Diagram for the Vending Machine

Learn how to define use cases and create the corresponding use case diagram for the vending machine.

Let’s build the use case diagram for the vending machine and understand the relationship between its different components.

First, we’ll define the different elements of our vending machine, followed by the complete use case diagram of the system.

System

Our system is a "Vending machine."

Actors

Now, we’ll define the main actors of our vending machine.

Primary actors

  • Customer: This actor can view, select and take products, insert money, and take out change from the machine.

  • Operator: This actor can do everything a "Customer" can do. It can also add or remove products and remove cash from the machine. ...

Secondary actors