Book a Demo
Prev Next

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

Ribbon

Design > Package > Package/Matrix | Open as (Source, Target or Both)

Context Menu

Browser window |Right-click on Package | Relationship Matrix | (As Source, As Target or As Both)

Keyboard Shortcuts

Alt+9

Alt+1 | Matrix

Set source and target Packages (method 1)

In all cases, the Relationship Matrix immediately:

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

If you select the first access option:

Step

Action

See also

1

In the Browser window, click on the required source Package, then press and hold Ctrl and click on the required target Package, to select the two Packages together.

2

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.

Set source and target Packages (method 2)

Or, if you use the second access option:

Step

Action

See also

1

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.

Set source and target Packages using Model Search

Step

Action

See also

1

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.

Note: this only supports standard Model Searches. It does not support searches that include a '<Search Term>'.

Advanced Search Options Create Search Definitions

2

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

Notes

  • 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