Search
Graph.clone Method
See Also
 





Creates an exact copy of the current graph.

Namespace: MindFusion.Graphs
Package: Graph.js

 Syntax

JavaScript  Copy Code

function clone ([saveMapping])

 Parameters

saveMapping
Optional.

Boolean. Indicates whether to store vertex and edge mapping information in the copy.

 Return Value

Graph. The newly created copy.

 See Also