 | IGraphRedirectSourceAndTarget Method |
Changes the source of the edge from the old source to the given new source,
and changes the target node of the edge from the old target to the given new target.
Namespace:
de.unika.ipd.grGen.libGr
Assembly:
libGr (in libGr.dll) Version: GrGen.NET 8.1
Syntaxvoid RedirectSourceAndTarget(
IEdge edge,
INode newSource,
INode newTarget,
string oldSourceName,
string oldTargetName
)
Parameters
- edge
- Type: de.unika.ipd.grGen.libGrIEdge
The edge to redirect. - newSource
- Type: de.unika.ipd.grGen.libGrINode
The new source node of the edge. - newTarget
- Type: de.unika.ipd.grGen.libGrINode
The new target node of the edge. - oldSourceName
- Type: SystemString
The name of the old source node (used for debug display of the new edge). - oldTargetName
- Type: SystemString
The name of the old target node (used for debug display of the new edge).
See Also