Searches the graph for a node that has its Caption property equal to the specified parameter. It returns the first node with this caption. If no node is found, the function returns nil.
Namespace: GGraph
Delphi |
public |
Parameters
Caption
Type: String
Type: TGGraphNode
TGCustomGraph.FindNode(String)
The following code extracts two nodes from the graph, copies one node's Caption to the other and then reinserts the node back into the graph: Delphi |
var |