Show TOC

Background documentationNetwork Events Locate this document in the navigation structure

 

Events in View Designer
  • onEdgePropsChanged

    This event signifies that edge properties have been changed. With this event only "decorative" properties are reported, and not the source or target of an edge.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard Parameter

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard Parameter

    GRAPH

    STRING

    ID of the document/model/graphs in which the event was triggered

    EDGE

    STRING

    The connections whose properties have been changed

  • onEdgeSelected

    This event signifies that an edge has been clicked (not just selected).

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard Parameter

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard Parameter

    GRAPH

    STRING

    ID of the document/model/graphs in which the event was triggered

    EDGE

    STRING

    Component: The connections whose properties have been changed

  • onGeneric

    Wrapper for all possible events that could wrap the actual events.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard Parameter

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard Parameter

    GRAPH

    STRING

    ID of the document/model/graphs in which the event was triggered

    COMPONENT

    STRING

    Subgraph, node, or connection associated with the event

    PARAMETERS

    STRING

    String of (optional and event-dependent) parameters whose format is fully dependent on the event trigger.

    NAME

    STRING

    Name of the wrapper

  • onGraphAdded

    This event signifies that a group of nodes, including their connections, has been added to the graph.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard Parameter

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard Parameter

    GRAPH

    STRING

    ID of the document/model/graphs in which the event was triggered

    SUB_GRAPH

    STRING

    Added subgraph

  • onGraphRemoved

    This event signifies that a group of nodes has been removed from the graph.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard Parameter

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard Parameter

    GRAPH

    STRING

    ID of the document/model/graphs in which the event was triggered

    SUB_GRAPH

    STRING

    Removed subgraph

  • onInitialized

    This event signifies the the network graph has been inialized

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard Parameter

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard Parameter

    GRAPH

    STRING

    ID of the document/model/graphs in which the event was triggered

  • onLayoutChanged

    This event signifies that one or more nodes has changed position This event can only be fired if the node is really omitted. Not every mouse movement is reported. If a group of nodes is moved by the user, each moved node sends a separate onLayoutChanged event.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard Parameter

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard Parameter

    GRAPH

    STRING

    ID of the document/model/graphs in which the event was triggered

    NODE

    STRING

    Graph nodes

  • onLinkAdded

    This event signifies that a connection has been added to the graph.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard Parameter

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard Parameter

    GRAPH

    STRING

    ID of the document/model/graphs in which the event was triggered

    LINK

    STRING

    Connection

  • onLinkRemoved

    This event signifies that a connection has been removed from the graph.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard Parameter

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard Parameter

    GRAPH

    STRING

    ID of the document/model/graphs in which the event was triggered

    LINK

    STRING

    Connection

  • onModelAdded

    This event signifies that the entire graph model has been replaced.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard Parameter

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard Parameter

    GRAPH

    STRING

    ID of the document/model/graphs in which the event was triggered

  • onModelDirty

    This event signifies that the entire graph model has been changed. This event is sent only once for a model if another event has taken place that has resulted in a change to the model.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard Parameter

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard Parameter

    GRAPH

    STRING

    ID of the document/model/graphs in which the event was triggered

  • onModelExtracted

    This event signifies that a new model has been extracted from an existing model. Normally this is the result of a graph analysis that the user can perform to filter a specific subset of a model.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard Parameter

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard Parameter

    GRAPH

    STRING

    ID of the document/model/graphs in which the event was triggered

    NEW_GRAPH

    STRING

    New model. Its ID can be used as the target ID for commands on the new graphs.

  • onModelSaved

    This event signifies that a graph model has been saved.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard Parameter

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard Parameter

    GRAPH

    STRING

    ID of the document/model/graphs in which the event was triggered

    REPLY

    STRING

    The response from the server that saved the model. This response can be an error message

  • onNodeAdded

    This event signifies that a node has been added to the graph.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard Parameter

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard Parameter

    GRAPH

    STRING

    ID of the document/model/graphs in which the event was triggered

    NODE

    STRING

    Added node

  • onNodeDoubleClicked

    This event signifies that the user has double-clicked on a node.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard Parameter

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard Parameter

    GRAPH

    STRING

    ID of the document/model/graphs in which the event was triggered

    NODE

    STRING

    Node that was double-clicked.

    SUB_COMPONENTS

    STRING

    0-based index of the component. A subcomponent can be a label or another component that was defined in the type definition of the node.

  • onNodePropsChanged

    This event signifies that node properties have been changed. This event does not report changes to node borders that were made by onLayoutChanged.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard Parameter

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard Parameter

    GRAPH

    STRING

    ID of the document/model/graphs in which the event was triggered

    NODE

    STRING

    Node whose properties have changed

  • onNodeRemoved

    This event signifies that a node has been removed from the graph.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard Parameter

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard Parameter

    GRAPH

    STRING

    ID of the document/model/graphs in which the event was triggered

    NODE

    STRING

    Removed node

  • onNodeSelected

    This event signifies that a node has been clicked (not just selected).

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard Parameter

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard Parameter

    GRAPH

    STRING

    ID of the document/model/graphs in which the event was triggered

    NODE

    STRING

    Clicked-on node

    SUB_COMPONENTS

    STRING

    0-based index of the component. A subcomponent can be a label or another component that was defined in the type definition of the node.

  • onTraceLevelChanged

    This event signifies that the trace level has been changed.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard Parameter

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard Parameter

    GRAPH

    STRING

    ID of the document/model/graphs in which the event was triggered

    LEVEL

    STRING

    Integer value between 0 and 5