Click or drag to resize

LGSPGraphReplaceNode Method

Replaces a given node by another one. All incident edges and variables are transferred to the new node. The attributes are not touched. This function is used for retyping.

Namespace:  de.unika.ipd.grGen.lgsp
Assembly:  lgspBackend (in lgspBackend.dll) Version: GrGen.NET 7.2
Syntax
C#
public void ReplaceNode(
	LGSPNode oldNode,
	LGSPNode newNode
)

Parameters

oldNode
Type: de.unika.ipd.grGen.lgspLGSPNode
The node to be replaced.
newNode
Type: de.unika.ipd.grGen.lgspLGSPNode
The replacement for the node.
See Also