Click or drag to resize
GraphBaseTVertex, TEdgeAdd Method (TEdge)
Adds the provided edge to this graph. If the vertex(s) are not yet in this graph, it/they are added as well.

Namespace:  SD.Tools.Algorithmia.Graphs
Assembly:  SD.Tools.Algorithmia (in SD.Tools.Algorithmia.dll) Version: 1.3.0.0 (1.3.17.0314)
Syntax
public void Add(
	TEdge edge
)

Parameters

edge
Type: TEdge
The edge to add to this graph.
Remarks
The edge has to be compatible with this graph: the edge has to be a directed edge if this graph is a directed graph and vice versa.
See Also