Drawing requirement diagram

The requirement diagram is designed specifically for the Systems Modeling Language (SysML). It is created in requirement containers and requirements to present the relationship between requirements and other model elements.

Creating requirement diagram

To create requirement diagram, right click Requirement Diagram on Diagram Navigator and select New Requirement Diagram from the pop-up menu.

 Create new requirement diagram
Create new requirement diagram

Creating requirement

To create a Requirement, click the Requirement button on the diagram toolbar and then click on the diagram.

Create requirement
Create requirement

Decomposing requirement

To decompose a Requirement, click the Containment -> Requirement resource and drag.

Decomposing Requirement
Decomposing Requirement

 

Move the mouse over empty space of the diagram and then release the mouse button, a Requirement together with a Containment relationship will be created.

Requirement and Containment created
Requirement and Containment created

Inline editing requirement properties

To inline edit the property of a Requirement (e.g. ID), double-click on the property, enter new value and press Enter to confirm.

Inline editing Requirement properties
Inline editing Requirement properties

Editing requirement properties with specification dialog box

You can also open specification dialog box of a Requirement to edit its properties. Click Open Specification resource of the Requirement.

Open specification of Requirement
Open specification of Requirement

 

The Requirement Specification dialog box shows. Edit the properties and click OK button to apply the changes.

Requirement Specification
Requirement Specification

Creating test case and link to requirement

To create a Test Case, click the Test Case button on the diagram toolbar and then click on the diagram.

Create test case
Create test case

Click Verify -> Requirement resource of Test Case and drag.

Linking Requirement with Test Case
Linking Requirement with Test Case

Move the mouse over a Requirement and then release the mouse button, a Verify relationship will be created from the Test Case to the Requirement.

Verify relationship created
Verify relationship created