Modeling Use Case Diagrams Correctly – The Most Important Components

Daniel Saffer

15/03/2019

Use cases can be documented graphically in a use case diagram. Use case diagrams are easy to use and are well-received by project stakeholders. This article is intended to help you model use case diagrams correctly and effectively. It will cover the most common components.

Why use use case diagrams?

Before you start modeling, you should already have basic knowledge of UML (Unified Modeling Language) or SysML (System Modeling Language). We have many exciting articles on this topic on our blog (read more).

At the beginning of every development process, it is necessary to determine which functions a future product must implement. Often, the stakeholder is not also the developer. In this case, the use case diagram can be used as a communication interface. The use case diagram is also a way of collecting functional requirements for a system. Every use case diagram contains actors, which are represented as stick figures. Actors can be people or external systems. The product to be developed offers services to the environment. A use case is such a service and is visualized using an ellipse. A use case can be connected to several actors. A distinction can be made between passive and active actors. Passive actors, for example, provide our system with data so that the service can be implemented.

Components

Images can be clicked to enlarge.

 

symbol name Description
Akteur actor Actors are the users of services provided by a system. Actors can be people or other systems. They are represented as stick figures. There are active and passive actors. The symbols do not distinguish between them.
Anwendungsfall Use case A use case describes a function/service of a system. Each use case usually leads to a visible result. Actors use these services actively or passively. Passive means that an actor provides data to the use case so that it can function.
Systemgrenzen System boundary System boundaries are represented as rectangles. Use cases of a system are located within these boundaries. They belong to the system. Actors, on the other hand, are located outside the system boundaries. They are not part of the system but interact with its services.
Beziehung Use relationship A line represents a connection between an actor or external system and a use case. It means that an actor uses a use case.
Generalisierung Generalization Following the same principle as in object-oriented programming languages, use cases can be generalized. The use case is generalized in the direction of the arrow. It is specialized in the opposite direction.

Example

Beispiel eines Anwendungsfalldiagramms
Fig. 1: Example of a use case diagram

Figure 1 shows an example of a use case diagram. The system represents a simplified defibrillator. Medical experts can configure it. Parameters that can be set include the shock energy and the patient type. The patient type refers to whether the patient is an adult or a child. The patient represents another actor. However, this is a passive actor. They are required to implement the "deliver shock" service. Medical experts trigger these shocks.

Tool for creating use case diagrams

MEDtech Ingenieur uses the Enterprise Architect tool. Enterprise Architect is a paid tool from Sparx Systems and can be used to create diagrams in SysML, UML, and other modeling languages. The tool is very well suited for systems development [1]. Documentation can be generated automatically. The tool is available here as a free trial version. downloaded and bought here You can find more exciting articles on the topic of Enterprise Architect and modeling here.

Model additional diagrams

[1] Creating system architecture correctly with UML and SysML: https://medtech-ingenieur.de/system-architektur/ and https://medtech-ingenieur.de/sprechen-sie-sysml/


Written by Daniel Saffer

Daniel Saffer is Chief Technical Officer (CTO) of MEDtech Ingenieur GmbH. In this role, he is responsible for the company's technical strategy and supports customer projects in medical technology. His focus is on the further development of safety-critical software solutions, regulatory requirements, and innovative technologies for the industry.


More articles

  • 19/03/2025
  • General, Companies, Events

We are pleased to invite you to an exclusive VDI event of Network Systems Engineering, which will take place in our office!On Friday, March 28, 2025, everything will be about the ...

Read more
  • 05/12/2024
  • General, Systems Engineering, Companies, Events

In a constantly changing business world, creativity is a key factor for success. Companies that can develop innovative solutions and continuously adapt to new challenges have a ...

Read more
  • 09/07/2024
  • General, Electrical Stimulation, Systems Engineering, Companies, Events

Dear engineers, technology enthusiasts, and family members, the "Fascination of Technology" family day will take place in Nuremberg on July 13, 2024! The event is organized by the VDI District Association Bavaria Northeast and the Nuremberg Technical University. ...

Read more
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Strictly Necessary Cookies

Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.