A type relation is a model object that allows the creation of relations between elements. Type relations are given names to distinguish their role in the model. For instance, a type element ‘Action’ with a type relation ‘has responsible’ to the type element ‘Person’, a type element ‘Requirement’ with a type relation ‘has source’ to the type element ‘Document’, a type element ‘Requirement’ with a type relation ‘is scope of’ to the type element ‘ Verification’, or a type element ‘Requirement’ with a type relation ‘is stakeholder for’ to the type element ‘Requirement’.
Create a new type relation*
- In the workspace menu, click on Type graphview.
- In the model, click on the type element to which a new type relation should be added.
- In the toolbox, click on New type relation. As a result, the dialog New type relation is opened.
- In the dialog New type relation, enter the settings of the type relation.
- Click on Create. As a result, the dialog is closed, and the new type relation is created.
Note:
- By creating a type relation to its own element, a recursive relation is created. For example, a type element ‘Person’ with a type relation ‘has supervisor’ to type element ‘Person’.
Update a type relation*
- In the workspace menu, click on Type graphview.
- In the model, click on the type relation name.
- In the toolbox, click on Edit. As a result, the dialog Type relation settings is opened.
- In the dialog Type relation settings, enter the settings of the type relation.
- Click on Update. As a result, the dialog is closed, and the type relation is updated.
Notes:
- Double-clicking the type relation is another way to open the dialog Type relation settings.
- As an alternative to the Type graphview, a type relation can be updated using the detail view.
Delete a type relation*
- In the workspace menu, click on Type graphview.
- In the model, click on the type relation name.
- In the toolbox, click on Delete.
- In the dialog Delete type relation, click on Ok. As a result, the type relation is deleted and is no longer shown in the workspace.
Notes:
- As an alternative to the Type graphview, a type relation can be deleted using the detail view.
- A type relation cannot be undeleted. The existing relations between elements are deleted together with the type relation and cannot be restored.
* In the workspace, the user type of your user must be set to power user to enable this feature.