Click or drag to resize

INamedGraphRedirectSourceAndTarget Method (IEdge, INode, INode)

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
Syntax
C#
void RedirectSourceAndTarget(
	IEdge edge,
	INode newSource,
	INode newTarget
)

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.
See Also