Relationship Matrix

The Relationship Matrix is a spreadsheet display of relationships between model elements within packages.



See also


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

On the Relationship Matrix, you select:

  • A source package
  • A target package
  • The relationship type and
  • The relationship direction

Enterprise Architect identifies all the relationships between source and target elements by:

  • Listing the source package elements down the side of the matrix
  • Listing the target package elements across the top of the matrix and
  • If a relationship exists between a source and target element, highlighting the intersecting 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 the target (it does not indicate the Direction property of the connector, as defined in the connector Properties dialog); the display might also show a 'bent arrow' icon, indicating that connectors exist in both directions between the source and target elements

The highlighted squares are normally green, indicating 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

If you click on any square in the matrix, the square, the row header and the column header are highlighted

Include Other Users' Packages


Once you open the Relationship matrix, you can:

  • Update, delete and create relationships through the Relationship Matrix
  • Select options for modifying the type of information the Relationship Matrix displays
  • Export the contents of the Relationship Matrix to a CSV file, a .png file or a .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

Open the Relationship Matrix

Creating and Deleting Relationships

Relationship Matrix Options

Matrix Profiles

Review Source and Target Elements