Namespace: yWorks.yFiles.Algorithms
Assembly: yWorks.yFilesSilverlight.Algorithms (in yWorks.yFilesSilverlight.Algorithms.dll) Version: 2.4.0.0

Syntax

C#
public enum GraphEventType
Visual Basic
Public Enumeration GraphEventType

Members

Member nameValueDescription
NodeCreation0 Type constant that identifies an event that gets fired immediately after a node has been created. The data of the event is the newly created node.
EdgeCreation1 Type constant that identifies an event that gets fired immediately after an edge has been created. The data of the event is the newly created edge.
PreNodeRemoval2 Type constant that identifies an event that gets fired immediately before a node will be removed from the graph. The data of the event is the node to be removed.
PostNodeRemoval3 Type constant that identifies an event that gets fired immediately after a node has been removed from the graph. The data of the event is the removed node.
PreEdgeRemoval4 Type constant that identifies an event that gets fired immediately before an edge will be removed from the graph. The data of the event is the edge to be removed.
PostEdgeRemoval5 Type constant that identifies an event that gets fired immediately after an edge has been removed from the graph. The data of the event is the removed edge.
NodeReinsertion6 Type constant that identifies an event that gets fired immediately after a node has been reinserted into the graph. The data of the event is the reinserted node.
EdgeReinsertion7 Type constant that identifies an event that gets fired immediately after an edge has been reinserted into the graph. The data of the event is the reinserted edge.
PreEdgeChange8 Type constant that identifies an event that gets fired immediately before the end points of an edge will be changed. The data of the event is the edge to be redefined.
PostEdgeChange9 Type constant that identifies an event that gets fired immediately after the end points of an edge have been changed. The data of the event is the redefined edge.
SubgraphInsertion10 Type constant that identifies an event that gets fired after a subgraph of a graph G has been moved to the emitting graph. The data of the event is a NodeList containing the nodes that induce the moved subgraph.

This event gets fired just after the SubgraphRemoval event got fired on the subgraph's original graph G. Note that at the time the event gets fired, the nodes from the node list are already part of the emitting graph.

SubgraphRemoval11 Type constant that identifies an event that gets fired after a subgraph of the emitting graph has been moved to a graph G. The data of the event is a NodeList containing the nodes that induce the moved subgraph.

This event gets fired just before the SubgraphInsertion event will be fired on the subgraph's new graph G. Note that at the time the event gets fired, the nodes from the node list are already part of graph G.

PreEvent12 Type constant that signals the start of a some logically coherent event sequence. If specified, the data of this event is its ID.
PostEvent13 Type constant that signals the end of a some logically coherent event sequence. If specified, the data of this event is its ID.

See Also