 | 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.lgspAssembly: lgspBackend (in lgspBackend.dll) Version: GrGen.NET 7.1
Syntaxpublic 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
LGSPEdgeThe newly created edge.
See Also