You are here: Notations (Reference) > Unified Modeling Language (UML) Types > Use Case Diagram

Element - UML Use Case Diagram

A use case diagram shows the external behavior of a system from the view of actors; it shows how actors, use cases and their relationships are related to each other.

Definition

The sequence diagram is a behavior diagram. It shows a relatively rough view of the external behavior of a system you expect to see and is used for specifying requirements for a system. A use case diagram shows a system's use cases and actors with their respective dependencies and relationships.

A use case diagram does not show flow descriptions; these can be depicted using activity or sequence diagrams.

Icon

 The icon is of a diagram with a use case in it.

Use

A use case diagram shows the relationships between actors and a set of use cases enclosed by a system limit. Depending on how the system term is interpreted, a use case diagram can be used for both business process modeling and software modeling.

Elements in a Use Case Diagram

Node

The following model elements can be shown as nodes in use case diagrams:

Icon Element Description
Actor The actor describes a user of the system and is also the system's trigger at the same time. The actor does not necessarily have to be a person, it can also describe a trigger function.

Use Case

A use case describes how a system is used by its users. The system's actions and communication between actors comprises a result that can be viewed in the form of behaviors which are relevant for one or more actors and/or participants in the system.

Extension Point of a Use Case

Extension points in the extended use case define the expiration date an extension of the extended use case will take place in.
Use Case System (Here: Components) The system has behaviors that can be described by the use cases it contains. You can use various systems in use case diagrams at the same time; they can also be nested. This enables e.g. clear structure of subsystems.

Edges

Edges in use case diagrams show associations, generalizations and relationships.

Icon Element Description
Association An association between an actor and a use case describes the interaction of an actor in a use case.
Include Relationship A use case can always contain another use case (import). The use case within the use case then becomes its own complete use description.
Extend Relationship

A use case can be used to extend another use case. It is linked with the other use case via an extend relationship. You can create extension points in extended use cases to specify extension of the expiration point.

You can enter an extension condition for the extend relationship; this can then be assigned to one or more extension points. The condition is checked when the extension point is reached. If the condition is missing, then the use case is always extended.

Generalization

A generalization is a directed relationship between one general and one specific classifier. The generalization is depicted by an arrow from the special classifier to the general classifier. Instances of the special classifier are also instances of the general classifier.

The generalization always shows an inheritance between actors, from a general super actor to a special sub actor. The super actor relays all information to the sub actor.

Use cases can also inherit from one another. The sub use case contains all of the super use case's tasks and can also contain other tasks (specialization).

Example of a Use Case Diagram

Further Information

http://www.uml.org/

 

 

© 1986-2014 MID GmbH Nuremberg Germany. DIN EN 9001 certified. All rights reserved.