Click or drag to resize

LGSPGraphProcessingEnvironmentAddEdge Method (EdgeType, INode, INode, String)

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

Namespace:  de.unika.ipd.grGen.lgsp
Assembly:  lgspBackend (in lgspBackend.dll) Version: GrGen.NET 7.2
Syntax
C#
public 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.

Implements

IGraphProcessingEnvironmentAddEdge(EdgeType, INode, INode, String)
See Also