Set Source and Target Package

Before you display relationships on the Relationship Matrix, you set both the source and target Packages containing the elements between which the relationships might exist. However, you set the source and target Packages after setting the element and connector types/details; as the Relationship Matrix refreshes after each change, this is usually faster. You can set the same Package as the source and target, to investigate relationships within a Package, or different source and target Packages to investigate relationships between Packages.

When deciding on which Packages to investigate and how to filter the matrix contents, consider that:

·The Relationship Matrix includes all child elements in each Package, within the criteria you specify; in a large model, with less-specific filters, this can expand the matrix with a large number of elements
·On the other hand, if you want to examine relationships within the Package structure, you can select options to include elements in child Packages under either the source Package or the target Package, or both

Access    View | Relationship Matrix or
Project Browser | Right-click on Package | Documentation | Open in Relationship Matrix | As Source  or  | As Target

Set source and target Packages



See also

If you select the first access option


In the Project Browser, click on the required source Package, then press and hold 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.



Or, if you use the second access option


Select and drag a single Package name over the remaining 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, or both.





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
·Select a Model Search from a drop-down list and run the search 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

It is possible to 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, the Relationship Matrix immediately:

·Populates the axes with the elements identified in the Source and Target Packages or searches that meet the selection criteria, and
·Shows any relationships between the sets of elements that also meet the selection criteria


·Custom SQL searches are supported if they are returning elements; the SQL must include ea_guid AS CLASSGUID (case sensitive)
·Using ORDER BY in a SQL search will not affect the order of the Relationship Matrix

Learn more