Hello Everyone!
Here is an example of an Activity Diagram of a Vending Machine.
Problem Statement -
A vending machine accepts coins for a variety of products. The user selects the drink from products available through selection panel. If the drink is available the price of the product will be displayed. The user then deposits the coins depending on the price of the product. Coin collector collects coin after stipulated time. The controller will compare the deposited coins with the price. If amount is less than the price then an error message will be displayed and all deposited coins will be dispensed by the dispenser. Otherwise the drink will be displayed by the drink dispenser.
Check out other UML (Unified Modeling Language) Diagrams -
Comments
Post a Comment