Click or drag to resize

LGSPGraphProcessingEnvironmentAddEdge(EdgeType, LGSPNode, LGSPNode, String) Method

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.1
Syntax
C#
public LGSPEdge AddEdge(
	EdgeType edgeType,
	LGSPNode source,
	LGSPNode target,
	string varName
)

Parameters

edgeType  EdgeType
The edge type for the new edge.
source  LGSPNode
The source of the edge.
target  LGSPNode
The target of the edge.
varName  String
The name of the variable.

Return Value

LGSPEdge
The newly created edge.
See Also