Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSCommon > GGraph > Classes > TGCustomGraph > Methods

TGCustomGraph.Extract(String) Method

Scroll Prev Top Next More

Removes the node with the specified Caption from the graph without deleting it. The graph searches for a node that matches the Caption parameter, if no node is found this method returns nil.

Usually, deleting a node also frees the node. This method allows the node to be extracted without deleting it. You are responsible for freeing the extracted node. After extraction, the Graph property of the node is nil. To add the node back, set the Graph property.

The overloaded Extract method extracts the specified node. In other words, the graph doesn't have to search for a node that matches the Caption string.


The extracted node's edges are deleted as a node cannot be connected to nodes in a graph and yet not be part of the graph.

Namespace: GGraph



Type: String

Return Value

Type: TGGraphNode

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb