 | INamedGraphAddEdge(EdgeType, INode, INode, String) Method |
Adds a new named edge to the graph and assigns it to the given variable.
Namespace: de.unika.ipd.grGen.libGrAssembly: libGr (in libGr.dll) Version: GrGen.NET 7.1
SyntaxIEdge AddEdge(
EdgeType edgeType,
INode source,
INode target,
string elemName
)
Parameters
- edgeType EdgeType
- The edge type for the new edge.
- source INode
- The source of the edge.
- target INode
- The target of the edge.
- elemName String
- The name for the edge or null if it is to be auto-generated.
Return Value
IEdgeThe newly created edge.
See Also