How do you write a use case diagram?
Table of Contents
How to Draw a Use Case Diagram?
- Identify the Actors (role of users) of the system.
- For each category of users, identify all roles played by the users relevant to the system.
- Identify what are the users required the system to be performed to achieve these goals.
- Create use cases for every goal.
- Structure the use cases.
What is a UML use case diagram?
In UML, use-case diagrams model the behavior of a system and help to capture the requirements of the system. Use-case diagrams describe the high-level functions and scope of a system. These diagrams also identify the interactions between the system and its actors.

How do you represent use case notation in a UML diagram?
Use case diagram symbols and notation
- Use cases: Horizontally shaped ovals that represent the different uses that a user might have.
- Actors: Stick figures that represent the people actually employing the use cases.
- Associations: A line between actors and use cases.
What is a use case examples?
It’s typically associated with software systems, but can be used in reference to any process. For example, imagine you’re a cook who has a goal of preparing a grilled cheese sandwich. The use case would describe through a series of written steps how the cook would go about preparing that sandwich.

What is use case with example?
A use case is a description of how a person who actually uses that process or system will accomplish a goal. It’s typically associated with software systems, but can be used in reference to any process. For example, imagine you’re a cook who has a goal of preparing a grilled cheese sandwich.
What are the symbols used in use-case diagrams?
In this lesson, we will look at five symbols used in a use case diagram:
- System Domain Box.
- Actor Figure.
- Goal Oval.
- Actor Initiator Arrow.
- Actor Connector Line.
What should a use case include?
As mentioned, the three basic elements that make up a use case are actors, the system and the goal. Other additional elements to consider when writing a use case include: Stakeholders, or anybody with an interest or investment in how the system performs.
What are the elements of a use case?
Here are the core elements of a common use case:
- The system. The system can describe the software or hardware a person operates to complete a task.
- The actors.
- The stakeholders.
- The preconditions.
- The trigger.
- The normal flow of events.
- The alternative flow of events.
- The exception flows.