Click or drag to resize

IGraphProcessingEnvironmentAddEdge(EdgeType, INode, INode, String, String) Method

Adds a new named edge to the graph and assigns it to the given variable.

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

Parameters

edgeType  EdgeType
The edge type for the new edge.
source  INode
The source of the edge.
target  INode
The target of the edge.
varName  String
The name of the variable.
elemName  String
The name for the edge or null if it is to be auto-generated.

Return Value

IEdge
The newly created edge.
See Also