 | IGraphClone(String, IDictionaryIGraphElement, IGraphElement) Method |
Duplicates a graph.
The new graph will use the same model as the other.
Namespace: de.unika.ipd.grGen.libGrAssembly: libGr (in libGr.dll) Version: GrGen.NET 7.1
SyntaxIGraph 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
IGraphA new graph with the same structure as this graph.
See Also