Appboard/old/actions/change diagram context

The "Change Diagram Context" Action was created for the Diagrammer Widget for users to change the model of the diagram in the Widget without having to create a separate Widget for separate models.


How To Create a Change Diagram Context Action

For instructions on adding an Action to a Widget, see the general instructions in How To Create an Action in a Widget.

How To Configure a Change Diagram Context Action

Perform the following steps to configure a "Change Diagram Context" Action:


  1. Follow the instructions above to create the basic "Change Diagram Context" Action using a Diagrammer Widget.
  2. Enter the following information on the Actions configuration panel in the Widget Wizard:
  3. Name: The label for this Action. A default label is automatically provided.
  4. On selection of:
    1. Select "any" or "specific" for the type of data selection by the User that will trigger the Action. If you select "specific", you must do the following:
      1. Click the Filter button. The Filter Editor is displayed.
      2. Click Add Rule to create one or more rules that indicate what data should trigger the Action, when selected.
      3. Click Finish to save the Filter settings.
    2. Select the Data Source name. When the Widget is run, selection of data in this Data Source will trigger the Action.
  5. Change Diagram Widget: Select the name of the Diagrammer Widget that will be changed with this action.
  6. Select either "To use Diagram Model:" or "To use Diagram Model by name from selected property:"
    • Select "To use Diagram Model:" to choose the previously created model you would like the Diagram to change to.
    • Select "To use Diagram Model by name from selected property:" to choose a property.
  7. Click "Finish" to complete the creation of a "Change Diagram Context" Action.

Sample Use Case

When showing a network diagram, one might want to have some subnet nodes that when clicked cause the diagrammer to switch to a new diagram depicting the subnet graph -- acting like a topology drill in.