 | IGraphProcessingEnvironmentAddEdge Method (EdgeType, INode, INode, String, String) |
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.2
SyntaxIEdge AddEdge(
EdgeType edgeType,
INode source,
INode target,
string varName,
string elemName
)
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. - elemName
- Type: SystemString
The name for the edge or null if it is to be auto-generated.
Return Value
Type:
IEdgeThe newly created edge.
See Also