How to Customize Requirement Types (SysML Guide)?
Users can record and present requirements as boxes visually through requirement modeling. The name of requirements summarizes the requirement while a set of attributes defines the requirement. The default requirement box enables users to specify general attributes, such as ID, source, kind, verify method, risk and status. Moreover, you can customize your own requirement types that contain attributes related to your domain.
Creating new requirement type
Before creating new Requirement type, create a new SysML requirement diagram or open your target requirement diagram where you want to customize your our own requirement types. Select Windows, then click Configuration > Configure Requirements... from the toolbar.
The Configure Requirements window appears. Click Add to add a new requirement type.
Configure Requirements window |
Enter name of the Requirement type in Name field.
Enter name for Requirement type |
Add attributes for the requirement type to make it meaningful. Click Add button below the attribute table and select an attribute.
Add documentation attribute |
Name the newly created attribute. Create as much as attribute you need by following the previous step.
NOTE: | If you select Enumeration Attribute from the drop-down menu, Edit Enumeration... button will appear. Click Edit Enumeration... button to edit it. |
Besides defining attributes, you can format the requirement type with fill, line and font. Click the ... button of Fill if you want to customize a color for the requirement type.
NOTE: | Click the ... button of Line if you want to customize its line property while click the ... button of Font if you want to customize its font property. |
Once you finish configuring requirement types, click OK button to return to your target SysML requirement diagram.
Finally, you can see the customized requirement type is available on the diagram toolbar. You can select and click it on the diagram to create the shape.
The customized requirement type |
Related Resources
The following resources may help you to learn more about the topic discussed in this page.
1. Drawing requirement diagram | Table of Contents | 3. Modeling and documenting test cases |