The Relationship Matrix is a spreadsheet display of relationships between model elements within packages. You select a source package and a target package, the relationship type and direction, and Enterprise Architect identifies all the relationships between source and target elements by highlighting a grid square and displaying an arrow indicating the direction of the relationship.
The direction is a reflection of which elements are the source elements and which are the target. It does not indicate the Direction property of the connector, as defined in the connector Properties dialog.
The Relationship Matrix is a convenient method of visualizing relationships quickly and definitively. It also enables you to create, modify and delete relationships between elements with a single mouse click - another quick way to set up complex sets of element relationships with a minimum of effort.
If you click on a square in the matrix, the square, the row headers and the column headers are highlighted, as shown in the example above. The example also illustrates the 'bent arrow' icon, indicating that connectors exist in both directions between the source and target elements.
The relationship squares in the example are green. This indicates that the source element is not locked (because the parent package has not been checked in under version control). If the element is locked (the parent package has been checked in) the highlight is pink, as follows:
For information on accessing the Relationship Matrix, see the Open the Relationship Matrix topic.
You can also:
- Select options for modifying the type of information the Relationship Matrix displays
- Update, delete and create relationships through the Relationship Matrix
- Export the contents of the Relationship Matrix to a CSV file or to a .png or .emf file
- Print the contents of the Relationship Matrix, scaled down if required
- Save a profile of the Relationship Matrix settings to monitor development of the same source and target packages
- Investigate the Source and Target elements in the relationship.