Click or drag to resize

IGraph Events

The IGraph type exposes the following members.

Events
 NameDescription
Public eventOnChangedEdgeAttribute 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.
Public eventOnChangedNodeAttribute 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.
Public eventOnChangingEdgeAttribute 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.
Public eventOnChangingNodeAttribute 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.
Public eventOnChangingObjectAttribute 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.
Public eventOnClearingGraph Fired before the whole graph is cleared
Public eventOnEdgeAdded Fired after an edge has been added
Public eventOnNodeAdded Fired after a node has been added
Public eventOnObjectCreated Fired after an object has been created (there is no event when it gets destroyed)
Public eventOnRedirectingEdge Fired before an edge is redirected (causing removal then adding again). The edge to be redirected is provided to the handler.
Public eventOnRemovingEdge Fired before an edge is deleted
Public eventOnRemovingEdges Fired before all edges of a node are deleted
Public eventOnRemovingNode Fired before a node is deleted
Public eventOnRetypingEdge Fired before the type of an edge is changed. Old and new edges are provided to the handler.
Public eventOnRetypingNode Fired before the type of a node is changed. Old and new nodes are provided to the handler.
Public eventOnSettingAddedEdgeNames 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.
Public eventOnSettingAddedNodeNames 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.
Public eventOnSettingVisited Fired before a visited flag is set.
Public eventOnVisitedAlloc Fired after a visited flag was allocated.
Public eventOnVisitedFree Fired after a visited flag was freed.
Top
See Also