Click or drag to resize

INodeCopy Method

Creates a deep copy of this node (i.e. (transient) class objects will be replicated). All attributes will be transfered to the new node. The node will not be associated to a graph, yet. So it will not have any incident edges nor any assigned variables.

Namespace: de.unika.ipd.grGen.libGr
Assembly: libGr (in libGr.dll) Version: GrGen.NET 7.1
Syntax
C#
INode Copy(
	IGraph graph,
	IDictionary<Object, Object> oldToNewObjectMap
)

Parameters

graph  IGraph
The graph to fetch the names of the new (non-transient) objects from.
oldToNewObjectMap  IDictionaryObject, Object
A dictionary mapping objects to their copies, to be supplied as empty dictionary.

Return Value

INode
A copy of this node.
See Also