Click or drag to resize

IGraphClone(String, IDictionaryIGraphElement, IGraphElement) Method

Duplicates a graph. The new graph will use the same model as the other.

Namespace: de.unika.ipd.grGen.libGr
Assembly: libGr (in libGr.dll) Version: GrGen.NET 7.1
Syntax
C#
IGraph Clone(
	string newName,
	out IDictionary<IGraphElement, IGraphElement> oldToNewMap
)

Parameters

newName  String
Name of the new graph.
oldToNewMap  IDictionaryIGraphElement, IGraphElement
A map of the old elements to the corresponding new elements after cloning.

Return Value

IGraph
A new graph with the same structure as this graph.
See Also