Click or drag to resize

IGraphRetype Method (IEdge, EdgeType)

Retypes an edge by creating a new edge of the given type. Source and target node as well as all attributes from common super classes are kept.

Namespace:  de.unika.ipd.grGen.libGr
Assembly:  libGr (in libGr.dll) Version: GrGen.NET 8.1
Syntax
C#
IEdge Retype(
	IEdge edge,
	EdgeType newEdgeType
)

Parameters

edge
Type: de.unika.ipd.grGen.libGrIEdge
The edge to be retyped.
newEdgeType
Type: de.unika.ipd.grGen.libGrEdgeType
The new type for the edge.

Return Value

Type: IEdge
The new edge object representing the retyped edge.
See Also