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.2.0.0 (1.2.16.0406)
Syntax public void Add(
TEdge edge
)
Public Sub Add (
edge As TEdge
)
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