Skip to main content

BrowserUIPasteOptions

Extension of paste options for use in a browser.

Extends

Properties

clear?

optional clear: boolean

If true, the clipboard will be cleared after this paste operation. Defaults to false.

Inherited from

PasteOptions.clear


event?

optional event: MouseEvent

Mouse event to use as the location for a paste.


hermetic?

optional hermetic: boolean

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 - which is the default- , 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 original vertex outside the CopyData on the other.

Inherited from

PasteOptions.hermetic


origin?

optional origin: PointXY

Origin to use when pasting the data. Each item's location will be translated when copied accordingly.

Inherited from

PasteOptions.origin


shallow?

optional shallow: boolean

Defaults to false. If true, nested nodes/groups will not be copied when their parents are copied.

Inherited from

PasteOptions.shallow