Namespace: yWorks.yFiles.Algorithms
Assembly: yWorks.yFilesSilverlight.Algorithms (in yWorks.yFilesSilverlight.Algorithms.dll) Version: 2.1.0.2
Assembly: yWorks.yFilesSilverlight.Algorithms (in yWorks.yFilesSilverlight.Algorithms.dll) Version: 2.1.0.2
Syntax
| C# |
|---|
public enum GraphEventType |
| Visual Basic |
|---|
Public Enumeration GraphEventType |
Members
| Member name | Description | ||
|---|---|---|---|
| NodeCreation | 0 | 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. | |
| EdgeCreation | 1 | 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. | |
| PreNodeRemoval | 2 | 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. | |
| PostNodeRemoval | 3 | 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. | |
| PreEdgeRemoval | 4 | 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. | |
| PostEdgeRemoval | 5 | 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. | |
| NodeReinsertion | 6 | 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. | |
| EdgeReinsertion | 7 | 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. | |
| PreEdgeChange | 8 | 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. | |
| PostEdgeChange | 9 | 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. | |
| SubgraphInsertion | 10 | 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. | |
| SubgraphRemoval | 11 | 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. | |
| PreEvent | 12 | Type constant that signals the start of a some logically coherent event sequence. If specified, the data of this event is its ID. | |
| PostEvent | 13 | Type constant that signals the end of a some logically coherent event sequence. If specified, the data of this event is its ID. |