Click or drag to resize

IGraph.AddEdge Method (EdgeType, INode, INode)

Adds a new edge to the graph.

Namespace:  de.unika.ipd.grGen.libGr
Assembly:  libGr (in libGr.dll) Version: GrGen.NET 7.2
Syntax
C#
IEdge AddEdge(
	EdgeType edgeType,
	INode source,
	INode target
)

Parameters

edgeType
Type: de.unika.ipd.grGen.libGr.EdgeType
The edge type for the new edge.
source
Type: de.unika.ipd.grGen.libGr.INode
The source of the edge.
target
Type: de.unika.ipd.grGen.libGr.INode
The target of the edge.

Return Value

Type: IEdge
The newly created edge.
See Also