UML Use Case Diagram Tutorial
UML Use Case Diagram Tutorial
lucidchart.com/pages/uml-use-case-diagram
Goals that your system or application helps those entities (known as actors) achieve
UML is the modeling toolkit that you can use to build your diagrams. Use cases are
represented with a labeled oval shape. Stick figures represent actors in the process, and
the actor's participation in the system is modeled with a line between the actor and use
case. To depict the system boundary, draw a box around the use case itself.
1/7
Use case diagram components
To answer the question, "What is a use case diagram?" you need to first understand its
building blocks. Common components include:
Actors:
The users that interact with a system. An actor can be a person, an organization, or
an outside system that interacts with your application or system. They must be
external objects that produce or consume data.
System:
A specific sequence of actions and interactions between actors and the system. A
system may also be referred to as a scenario.
Goals:
The end result of most use cases. A successful diagram should describe the
activities and variants used to reach the goal.
2/7
Use case diagram symbols and notation
The notation for a use case diagram is pretty straightforward and doesn't involve as many
types of symbols as other UML diagrams. You can use this guide to learn how to draw a
use case diagram if you need a refresher. Here are all the shapes you will be able to find
in Lucidchart:
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. In complex diagrams, it is important to know
which actors are associated with which use cases.
3/7
System boundary boxes:
A box that sets a system scope to use cases. All use cases outside the box would
be considered outside the scope of that system. For example, Psycho Killer is
outside the scope of occupations in the chainsaw example found below.
Packages:
A UML shape that allows you to put different elements into groups. Just as with
component diagrams, these groupings are represented as file folders.
4/7
Railway reservation use case diagram example
5/7
You can adapt this template for any process where a customer purchases a service. With
attractive color schemes, text that’s easy to read and edit, and a wide-ranging UML shape
library, you’re ready to go! Click to try out this template on your own.
6/7
7/7