Use the simple navigation operation type, if you need to specify a direct relation between the elements through model relationships, properties, tags, or UML operations.
To specify a simple navigation as criteria
- Click Simple Navigation on the left side of the dialog.
- Select a relationship, property, tag, or operation.
- Specify other options described in the table below:
Column | Mode | Description |
---|---|---|
Relation Criterion | Standard/Expert | Name of a relationship, property, tag, or UML meta-operation. The whole list is by default filtered and shows only these relationships, properties, tags, and operations that are available for the Contextual element type. To see the full list, click to clear the check box below the list. |
Is Applied | Standard/Expert | Select the check box to define the appropriate relationship, property, tag, or UML operation as criteria for the calculation. To clear all the selected criteria, click the Clear All button. |
Direction | Standard/Expert | Select from the drop-down list the direction of the appropriate relationship, property, tag, or UML operation. If the direction is defined for relationships, then • The Source To Target direction means that only the outgoing relations, which are pointing from the source element to the target element, will be treated as a result of this criterion. If the direction is defined for properties or tags, then • The Source To Target direction means that only the properties, which exist in the source element, will be treated as a result of this criterion. Operations support the Source To Target direction only. |
Please note that the Simple Navigation operation returns a set.
Manipulations in Expert mode
The Expert mode allows for changing the Contextual element of a simple navigation criterion as well as creating a new operation, where the result of the simple navigation operation is used as an argument.
Column | Mode | Description |
---|---|---|
Properties | Expert | Click the button and in the open dialog specify the properties of the selected relationship. |
Include Relationship Subtypes | Expert | Select the check box to include the subtypes of the selected relationship types. |
Include Relationship Custom Types | Expert | Select the check box to include the custom relationship types that extend the selected relationship types. |
Filter by Property Value | Expert | Click the button and in the open dialog select one or more properties of the selected relationship and specify their values for a more specific filter. |
Result Type | Expert | Click the Select Element Type dialog select one or more result element types. The Result Type column is available only in the Query and Expression dialogs. You can define the element types for representation on a Dependency Matrix and Generic table. Moreover, you can define the element types for representation on a Relation Map. button and in the open |
Style | Standard/Expert | Click the button and in the open dialog select the color and style to represent the appropriate relationship, property, tag, or UML operation. The column is available only in the Relation Criterion dialog. |
To change the Contextual element of a simple navigation criterion
- On the left side of the dialog, expand the simple navigation criterion and select the Context parameter.
- On the Context specification panel, click the Reset button.
The value of the Context parameter becomes null. Select a new context from the list of operations and element types.
To restore the original context, expand the Other group and click Contextual Variable.
To use the expression of a simple navigation operation as a parameter of another operation
- On the left side of the dialog, click Simple Navigation.
On the criteria specification panel, click the Use as button and select the appropriate command.
- Specify other parameters of the new operation.