Click or drag to resize

LGSPGraphProcessingEnvironmentAddEdge Method (EdgeType, LGSPNode, LGSPNode, 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 LGSPEdge AddEdge(
	EdgeType edgeType,
	LGSPNode source,
	LGSPNode target,
	string varName
)

Parameters

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

Return Value

Type: LGSPEdge
The newly created edge.
See Also