IGraph Events |
The IGraph type exposes the following members.
| Name | Description | |
|---|---|---|
| OnChangedEdgeAttribute | Fired after an attribute of an edge is changed; for debugging purpose. Note for LGSPBackend: Because graph elements of the LGSPBackend don't know their graph a call to LGSPGraphElement.SetAttribute will not fire this event. If you use this function and want the event to be fired, you have to fire it yourself using ChangedEdgeAttributes. | |
| OnChangedNodeAttribute | Fired after an attribute of a node is changed; for debugging purpose. Note for LGSPBackend: Because graph elements of the LGSPBackend don't know their graph a call to LGSPGraphElement.SetAttribute will not fire this event. If you use this function and want the event to be fired, you have to fire it yourself using ChangedNodeAttributes. | |
| OnChangingEdgeAttribute | Fired before an attribute of an edge is changed. Note for LGSPBackend: Because graph elements of the LGSPBackend don't know their graph a call to LGSPGraphElement.SetAttribute will not fire this event. If you use this function and want the event to be fired, you have to fire it yourself using ChangingEdgeAttributes. | |
| OnChangingNodeAttribute | Fired before an attribute of a node is changed. Note for LGSPBackend: Because graph elements of the LGSPBackend don't know their graph a call to LGSPGraphElement.SetAttribute will not fire this event. If you use this function and want the event to be fired, you have to fire it yourself using ChangingNodeAttributes. | |
| OnChangingObjectAttribute | Fired before an attribute of an object is changed. Note for LGSPBackend: Because objects (of the LGSPBackend) don't know their graph a call to LGSPObject.SetAttribute will not fire this event. If you use this function and want the event to be fired, you have to fire it yourself using ChangingObjectAttributes. | |
| OnClearingGraph | Fired before the whole graph is cleared | |
| OnEdgeAdded | Fired after an edge has been added | |
| OnNodeAdded | Fired after a node has been added | |
| OnObjectCreated | Fired after an object has been created (there is no event when it gets destroyed) | |
| OnRedirectingEdge | Fired before an edge is redirected (causing removal then adding again). The edge to be redirected is provided to the handler. | |
| OnRemovingEdge | Fired before an edge is deleted | |
| OnRemovingEdges | Fired before all edges of a node are deleted | |
| OnRemovingNode | Fired before a node is deleted | |
| OnRetypingEdge | Fired before the type of an edge is changed. Old and new edges are provided to the handler. | |
| OnRetypingNode | Fired before the type of a node is changed. Old and new nodes are provided to the handler. | |
| OnSettingAddedEdgeNames | Fired before each rewrite step (also rewrite steps of subpatterns) to indicate the names of the edges added in this rewrite step in order of addition. | |
| OnSettingAddedNodeNames | Fired before each rewrite step (also rewrite steps of subpatterns) to indicate the names of the nodes added in this rewrite step in order of addition. | |
| OnSettingVisited | Fired before a visited flag is set. | |
| OnVisitedAlloc | Fired after a visited flag was allocated. | |
| OnVisitedFree | Fired after a visited flag was freed. |