Skip to main content

Home > @jsplumbtoolkit/copy-paste > PasteOptions > hermetic

PasteOptions.hermetic property

Defaults to true. Indicates that the paste should only paste edges whose source and target vertex are in the CopyData object that is being pasted. When this is set to false, all edges in the CopyData will be pasted, but edges to/from some vertex not in the CopyData will attach to the pasted vertex from the CopyData on one end, and the existing vertex outside the CopyData on the other.

Signature:

hermetic?: boolean;