Set Source and Target Package

You must set both the source and target packages for the Relationship Matrix before relationships can be displayed.

You set the source and target packages AFTER setting the connector and element types/details; as Enterprise Architect refreshes the content after each change, this is usually faster.

The Relationship Matrix includes ALL child elements in a hierarchy. Sometimes in a large model this can be a lot of elements, possibly too many to be useful. Take care in selecting the source and target package.

How to:

To set the source and target packages, follow the steps below:



See also


In the Project Browser, click on the required source package, then press ( Ctrl ) and click on the required target package, to select the two packages together



Drag the selected packages over the Source and Target fields

The first-selected package name displays in the Source field, and the second-selected package name displays in the Target field




Select and drag a single package name over the Source OR Target field, to change just the source or the target package

If you drop the package name anywhere else on the Relationship Matrix, the system prompts you to specify whether to add it to the Source or Target field




Click on the ( ... )  (Browse) button at the end of the Source or Target field

A short menu displays, with options to:

  • Locate a package using the Browse Project dialog or
  • Run a Model Search (selected from a drop-down list) on a search term; the name of the search is displayed in the Source or Target field
    The target of the search depends on whether the Return matching items for the selected Package option is selected in the Search definition; if it is selected, the search operates on the current package, otherwise the search operates on the whole model

If required, you can browse for a package in one field and run a search in the other






Advanced Search Options


Select the required package, or the required Model Search and search term, and click on the OK button


In all cases, Enterprise Architect immediately:

  • Populates the Relationship Matrix axes with the elements identified in the Source and Target packages or the searches that meet the selection criteria, and
  • Shows any relationships between the sets of elements that also meet the selection criteria.