Creating and Deleting Relationships

From the Relationship Matrix, you can:

Modify relationships
Delete relationships
Create new relationships

Use to

Quickly create and manage relationships like Realization and Aggregation between Requirements and implementation elements (such as Use Cases)

How to

To modify or delete a relationship on the Relationship Matrix

Step

Action

See also

1

Right-click the required highlighted relationship square on the matrix, and select the appropriate context menu option:

View relationship - opens the Properties dialog for the selected relationship
Source element properties - opens the Properties dialog for the source element
Target element properties - opens the Properties dialog for the target element
Delete relationship

 

 

2

If you have selected Delete relationship, Enterprise Architect prompts you to confirm this action.

Click on the Yes button.

The Delete relationship option is not available if:

The source element (that is, the owner) is locked
You have selected Both in the Direction field - you are effectively trying to delete half a relationship

 

 

3

If you have selected one of the other options, modify the properties in the dialog fields as required.

Click on the OK button to save the changes.

 

 

 

To create a new relationship

Step

Action

See also

1

In the Link Type field, select the required relationship type.

 

 

2

Right-click on the empty square at the intersection of the appropriate source row and target column.

 

 

3

Select the Create new relationship context menu option.

A submenu displays, listing the types of relationship you can create.

 

 

4

Click on the required type of relationship; a connector of that type is created between the two elements.