How to create a new theme for a model

Model themes are created in Context Graph Visualization on the model Management page.

  1. Next to Model on the Context Graph Visualization toolbar, click to choose the model for which you want to create a theme.
  2. Click the adjacent Management button .
    This displays the Management page for the selected model.
  3. On the left panel, click Themes.
  4. On the toolbar, click the New theme button .
    This displays the New Theme page.
  5. In the Name box, enter a meaningful name for the theme.
  6. Click to expand the New action menu, and click to add an action to the theme.
    ActionDescription
    Entity Decoration Defines expressions and decorations to be applied to entities that match the expressions.
    Entity Filter Defines expressions to show or hide entities that match the expressions.
    Relationship Decoration Defines expressions and decorations to be applied to relationships that match the expressions.
    Relationship Filter Defines expressions to show or hide relationships that match the expressions.
    This adds the new action to the Action box. Actions are executed in the order that they appear. To change the execution order, click the handle on an action and drag it up or down in the list.
  7. In the Action box, click the label to enter a meaningful name.
  8. On the Expressions pane, add expressions to match entities or relationships on the canvas.
    For more information, see Adding expressions to an action.
  9. Optional: Click the Show preview button to view a list of entities or relationships that match the expressions.
  10. Configure settings to be applied by the action expression.
    For this actionDo this
    Entity Decoration

    Edit entity Style Settings and Label Settings. These settings define decorations to be applied to entities that match the expressions.

    For more information, see Entity Decoration settings.

    Entity Filter

    On the Filter options pane, click Show items or Hide items to choose whether the action shows or hides entities on the Canvas when the expressions evaluate to true.

    Relationship Decoration

    Edit relationship Style Settings and Label Settings. These settings define decorations to be applied to relationships that match the expressions.

    For more information, see Relationship Decoration settings.

    Relationship Filter

    On the Filter options pane, click Show items or Hide items to choose whether the action shows or hides relationships on the Canvas when the expressions evaluate to true.

  11. Repeat steps 5 through 10 to add additional actions.
  12. Click Save to save the theme.
  13. Click the Close button to leave the Management page.