Show TOC

 Network EventsLocate this document in the navigation structure

Events in the View Designer
  • onEdgePropsChanged

    This event signifies that edge properties have been changed. With this event only "decorative" properties are registered, 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/graph in which the event occurred.

    EDGE

    STRING

    The links/arrow whose properties have been changed.

  • onEdgeSelected

    This event signifies that an edge has been clicked on (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/graph in which the event occurred.

    EDGE

    STRING

    Component: The links/arrow whose properties have been changed.

  • onGeneric

    Wrapper around all possible and conceivable events, which can wrap each of 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/graph in which the event occurred.

    COMPONENT

    STRING

    Subgraph, node or link associated with the event

    PARAMETERS

    STRING

    String of parameters (optional and dependent on the event), 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 links 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 document/model/graph in which the event occurred

    SUB_GRAPH

    STRING

    Inserted 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 document/model/graph in which the event occurred

    SUB_GRAPH

    STRING

    Removed subgraph

  • onInitialized

    This event signifies that the network graph has been initialized.

    Parameter Name Type Description

    ID

    STRING

    Standard Parameter

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard Parameter

    GRAPH

    STRING

    ID of document/model/graph in which the event occurred.

  • onLayoutChanged

    This event signifies that one or more nodes have changed position.  This event is only triggered if a node really has changed. Not every movement of the mouse is reported. If a group of nodes has been moved by the user, each moved node sends its own 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/graph in which the event occurred.

    NODE

    STRING

    Node of the graph

  • onLinkAdded

    This event signifies that a link 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/graph in which the event occurred.

    LINK

    STRING

    Link

  • onLinkRemoved

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

    Parameter-Name Typ Beschreibung

    ID

    STRING

    Standard Parameter

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard Parameter

    GRAPH

    STRING

    ID of document/model/graph in which the event occurred.

    LINK

    STRING

    Link

  • onModelAdded

    This event signifies that the whole 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/graph in which the event occurred.

  • onModelDirty

    This event signifies that the whole graph model has been changed. This event is sent only once for a model if another event has occurred that has led to the model being changed.

    Parameter Name Type Description

    ID

    STRING

    Standard Parameter

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard Parameter

    GRAPH

    STRING

    ID of the document/model/graph in which the event occurred.

  • onModelExtracted

    Event that signifies that a new model has been extracted from an existing model. This is normally the result of an analysis on the graph that the user can perform to filter out 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 document/model/graph in which the event occurred.

    NEW_GRAPH

    STRING

    New model. Its ID can be used as the target ID for commands to the new graph.

  • onModelSaved

    This event signifies that the 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 document/model/graph in which the event occurred.

    REPLY

    STRING

    The response of the server that saved the model. This response may 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 document/model/graph in which the event occurred.

    NODE

    STRING

    Added node

  • onNodeDoubleClicked

    Event that 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/graph in which the event occurred.

    NODE

    STRING

    Node on whi Node which was double-clicked

    SUB_COMPONENTS

    STRING

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

  • onNodePropsChanged

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

    Parameter Name Type Description

    ID

    STRING

    Standard Parameter

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard Parameter

    GRAPH

    STRING

    ID of document/model/graph in which the event occurred.

    NODE

    STRING

    Node whose properties have been 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/graph in which the event occurred.

    NODE

    STRING

    Removed node

  • onNodeSelected

    This event signifies that a node has been clicked on (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/graph in which the event occurred.

    NODE

    STRING

    Clicked-on node

    SUB_COMPONENTS

    STRING

    0-based index of the component. A subcomponent may be a label text or another component that was specified 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/graph in which the event occurred.

    LEVEL

    STRING

    Integer value between 0 and 5.