Software Engineering
(SE-406)
Use Case Diagram
The purpose of a use case diagram is to demonstrate the
different ways that a might interact with a system.
A use case diagram at its simplest is a representation of a
user's interaction with the system that shows the
relationship between the user and the different use cases
in which the user is involved.
Create a professional diagram for any use case.
What is a use case diagram
A use case diagram can summarize the details of your
system's users (also known as actors) and their
interactions with the system.
To build one, you'll use a set of specialized symbols and
connectors.
What is a use case diagram
An effective use case diagram can help your team discuss
and represent:
Scenarios in which your system or application interacts with people,
organizations, or external systems
Goals that your system or application helps those entities (known
as actors) achieve
The scope of your system
When to apply use case diagrams
A use case diagram doesn't go into a lot of detail.
For example, don't expect it to model the order in
which steps are performed.
Instead, a proper use case diagram depicts a high-
level overview of the relationship between use
cases, actors, and systems.
Use case diagram components
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 used to reach the goal.
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 diagrams.
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.
Use case diagram symbols and
notation
Associations: A line between actors and use cases. In
complex diagrams, it is important to know which actors
are associated with which use cases.
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.