Show/Hide Toolbars

RiverSoftAVG Products Help

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

TGLabelGraph.Extract(TGGraphNode) Method

Scroll Prev Top Next More

Removes the specified node from the graph without deleting it.

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 a node based on its Caption property. In other words, the graph searches for a node that matches the Caption string.

noteNote

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

Parameters

Node

Type: TGGraphNode

Return Value

Type: TGGraphNode

Overrides

TGCustomGraph.Extract(TGGraphNode)
 

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb