Skip to main content

Requirement Diagram

Overview

Requirements diagrams can be used to describe system requirements, including non-functional requirements, and the relationships between them.
This page explains the operations for using class diagrams in the following order.

  • Place the requirements diagram
  • Define requirements
  • Define relationships

Requirement Diagram

Place the requirement diagram

To place a requirements diagram, follow these steps:

Place requirement diagram

Operating instructions
  1. Select the package in the model navigator and click [Add Model] > [Requirement Diagram] in the context menu.
  2. The requirement diagram is placed in the child element of the selected package.

Define the request

To define a request, follow these steps:

Define a requirement

Operating instructions
  1. Drag and drop [Requirement] from the toolbox onto the displayed requirement diagram.
  2. A new requirement is added as a sibling element of the displayed requirement diagram.
Elements that can be added from the toolbox

The following elements displayed in the toolbox can be placed in the requirements diagram.

IconName
RequirementRequirement
Test caseTest case
ElementElement
NoteNote
LabelLabel
Add ShapeShape

Add request ID

Add request ID

To add a request ID, follow these steps:

Operating instructions
  1. Select your request.
  2. Enter the request ID in the Basic information > Request ID field in the Property Inspector.
  3. The request ID is displayed above the request shape.
tip

You can edit the request ID from the request diagram by following these steps:

  1. Double-click the request ID on the request shape to enter editing state.
  2. After changing the request ID and confirming the edit, it will be reflected on the request diagram.
tip

If you want to display existing model elements (e.g. classes) on the requirements diagram, you can display them by dragging and dropping the elements on the model navigator onto the requirements diagram. These elements can be traced with the requests you add.

Added request and trace

Define relationships

To define an association, follow these steps:

Add relation

Operating instructions
  1. Move the pointer over the request you want to associate.
  2. Drag the [▲] icons that appear on all sides of the request and drop them onto the other request you want to associate.
  3. A list of relationships that can be added will be displayed. Select the relationship you want to add. The selected relationship will be added and the default stereotype will be set.
Related information that can be added

The following relationships are available in requirement diagrams:

IconName
Derived requestDerived request
CopyCopy
SatisfiedSatisfied
RefinementRefinement
VerificationVerification
TraceTrace

Restrictions

  • The request ID is displayed above the request name, unlike the SysML standard notation.
  • Stereotypes of requirements cannot be represented on diagrams. Please check and edit using the sub editor or inspector.
  • If you want to change the type of relationship between requests (derived request, copy, refinement, etc.) once added, you need to create them again.