Skip to main content
ClonedSet
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).
NameTypeDescription
edgeMapMap<string,string>Map of edges that were pasted, keyed by id
edgesArray<AddEdgeOptions>List of edges that were pasted.
groupsArray<ObjectData>List of groups that were pasted.
nodesArray<ObjectData>List of nodes that were pasted.
originPointXYThe computed origin of the set of pasted objects, prior to pasting
transformPointXYThe transformation applied to the content origin when pasting.
vertexMapMap<string,string>Map of nodes/groups that were pasted, keyed by id