MagicDraw 19.0 LTR SP1 Documentation


Use the simple navigation operation type, if you need to specify a direct relation between the elements through model relationships, properties, or tags.

 

To specify a simple navigation as criteria


  1. Click Simple Navigation on the left side of the dialog.
  2. Select a relationship, property, or tag and specify other options described in the following table.

 

ColumnModeDescription

Relation
Criteria

Standard/
Expert

Name of a relationship, property, or tag.
The whole list is by default filtered and
shows only these relationships, properties,
and tags 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, or tag 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, or tag.
A source is the Contextual element.
A target is the result of the calculation.

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.

• The Target To Source direction means that only
the incoming relations, which are pointing from the
target element to the source element, will be treated
as a result of this criterion.

• If the Both direction is chosen, the both above
described cases will be treated as a valid result.

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.
• The Target To Source direction means that only
the properties, which exist in the target element,
will be treated as a result of this criterion.
• If the Both direction is chosen, the both above
described cases will be treated as a valid result.

Include
Subtypes

ExpertSelect the check box to include subtypes of the
selected relationship.

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 more specific filter.

Result
Type
Expert

Click the button and in the open dialog select
one or more result element types. The column is
available only in the Query dialog and the Expression
dialog. You can define element types for representation
on a dependency matrix and. Moreover, you can define
the element types for representation on a relation map.

Color

Standard/
Expert

Click the button and in the open dialog select the color
to represent the appropriate relationship, property, or tag.
The column is available only in the Relation Criterion dialog.

 

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.

To change the Contextual element of a simple navigation criterion


  1. On the left side of the dialog, expand the simple navigation criterion and select the Context parameter.
  2. On the Context specification panel, click the Reset button.

    The value of the Context parameter becomes null. 
  3. 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


  1. On the left side of the dialog, click Simple Navigation.
  2. On the criteria specification panel, click the Use as button and select the appropriate command.
     

  3. Specify other parameters of the new operation.

 

 

 

  • No labels