Click or drag to resize

IGraphProcessingEnvironmentAddEdge Method (EdgeType, INode, INode, String)

Adds a new edge to the current graph of this processing environment and assigns it to the given variable.

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,
	string varName
)

Parameters

edgeType
Type: de.unika.ipd.grGen.libGrEdgeType
The edge type for the new edge.
source
Type: de.unika.ipd.grGen.libGrINode
The source of the edge.
target
Type: de.unika.ipd.grGen.libGrINode
The target of the edge.
varName
Type: SystemString
The name of the variable.

Return Value

Type: IEdge
The newly created edge.
See Also