Click or drag to resize

LGSPGraph.Clone Method (String, IDictionary<IGraphElement, IGraphElement>)

Duplicates a graph. The new graph will use the same model as the other. Open transaction data will not be cloned.

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

Parameters

newName
Type: System.String
Name of the new graph.
oldToNewMap
Type: System.Collections.Generic.IDictionary<IGraphElement, IGraphElement>
A map of the old elements to the corresponding new elements after cloning.

Return Value

Type: IGraph
A new graph with the same structure as this graph.

Implements

IGraph.Clone(String, IDictionary<IGraphElement, IGraphElement>)
See Also