Drop Zones

class NodeDropZone()

Description of a NodeDropZone.

interface

NodeDropZone.bbox

type: Rect

The bounding box of the drop zone.

The coordinates of the bounding box are relative to the node the drop zone is in.

NodeDropZone.blacklist

type: Set<string>

The blacklist node-type filter of this dropzone.

Only active if the whitelist is empty.

NodeDropZone.id

type: string

The id of thedrop zone. (unique for all zones of the same node)

NodeDropZone.whitelist

type: Set<string>

The whitelist node-type filter of this dropzone.

If the whitelist is not empty any node-type not in the whitelist will be rejected.