Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Content layer
id967284465
Content column
id967284478
Content block
id967284468

To color ports by their type


  1. Create a Legend and a Legend Item.
  2. Right-click the Legend Item to open its Specification window
  3. Click three dots  next to the Adornment property to specify it. Click OK.
  4. Click three dots  next to the Elements by Condition property to edit it. Elements by Condition dialog opens.
  5. Click Expert at the bottom of the dialog. The dialog is switched to the Expert mode.

  6. Select Create operation > Metachain Navigation.
  7. Click Insert.

  8. Under Metaclass or Stereotype, select Port, and under Property, select Type.

  9. Select Create operation > Operation from Model > Contains.
  10. Drag-and-drop Metachain Navigation onto Input parameter.
  11. Select Obj > Element > select the port type to verify.
  12. Click OK.
Content block
id967284464

Sample model

The model used in these examples is the 

Excerpt Include
Case Studies for Querying the
Model sample model. To open this model, you need to download case studies for querying the model.mdzip
Model
Case Studies for Querying the Model
nopaneltrue