Skip to main content

Home > @jsplumbtoolkit/copy-paste > ClonedSet

ClonedSet interface

The return value from a paste. Contains a list of nodes, groups and edges that were pasted, as well as a map of previous edge/vertex ids to their new ids, the computed origin of the copied vertices, and the amount by which the set of objects was translated for the paste (so the paste location is origin + transform).

Signature:

export interface ClonedSet 

Properties

PropertyModifiersTypeDescription
edgeMapMap<string, string>
edgesArray<AddEdgeOptions>
groupsArray<ObjectData>
nodesArray<ObjectData>
originPointXY
transformPointXY
vertexMapMap<string, string>