Static
cellsHolds the array of Cell currently in the clipboard.
Static
insertCounts the number of times the clipboard data has been inserted.
Static
STEPSIZEDefines the step size to offset the cells after each paste operation.
Static
copyStatic
cutStatic
getStatic
isStatic
pasteStatic
removeStatic
setSets the cells in the clipboard. Fires a InternalEvent.CHANGE event.
Singleton that implements a clipboard for graph cells.
To copy the selection cells from the graph to the clipboard and paste them into graph2, do the following:
For fine-grained control of the clipboard data the Graph.canExportCell and Graph.canImportCell functions can be overridden.
To restore previous parents for pasted cells, the implementation for copy and paste can be changed as follows.