Navigation: Code Documentation > RSCommon > GGraph > Classes > TWeightedNode > Methods
TWeightedNode.NewEdge(TGGraphNode,TGGraphNode) Method
Creates a new edge from one node to another.
Namespace: GGraph
Delphi
protected function NewEdge( NodeFrom, NodeTo: TGGraphNode ): TGGraphEdge; override;
Parameters
NodeFrom
Type: TGGraphNode
NodeTo
Type: TGGraphEdge
TGGraphNode.NewEdge(TGGraphNode,TGGraphNode)
•GGraph.TGGraphEdge
•TWeightedNode
•GGraph