Click or drag to resize

IGraphRetype Method (INode, NodeType)

Retypes a node by creating a new node of the given type. All incident edges 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#
INode Retype(
	INode node,
	NodeType newNodeType
)

Parameters

node
Type: de.unika.ipd.grGen.libGrINode
The node to be retyped.
newNodeType
Type: de.unika.ipd.grGen.libGrNodeType
The new type for the node.

Return Value

Type: INode
The new node object representing the retyped node.
See Also