Show/Hide Toolbars

RiverSoftAVG Products Help

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

TGGraphNode.AddEdge(TGGraphNode) Method

Scroll Prev Top Next More

Creates an edge from the current node to the ANode parameter and returns the edge.

The current node will be assigned to the    FromNode property of the edge, and the ANode parameter will be assigned to the ToNode property of the edge. The edge is added to the current node's list of edges (accessible with the    Edge and EdgeCount properties). If the graph is undirected, the edge is also added to the ANode edge list.

Namespace: GGraph



Type: TGGraphNode

Return Value

Type: TGGraphEdge

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb