cytoscape / cytoscape.js-compound-drag-and-drop

Compound node drag-and-drop UI for adding and removing children
MIT License
33 stars 16 forks source link

feat: added bounding box options #18

Closed sashokbg closed 2 years ago

sashokbg commented 2 years ago

Based on https://js.cytoscape.org/#eles.boundingBox includeLabels to make sure drag and drop opens only when dragging over the node itself and not over a long title.

sashokbg commented 2 years ago

Hello @maxkfranz I propose we pass the whole options object related to eles.boundingBox() https://js.cytoscape.org/#eles.boundingBox

What do you think ?

maxkfranz commented 2 years ago

Hello @maxkfranz I propose we pass the whole options object related to eles.boundingBox() https://js.cytoscape.org/#eles.boundingBox

What do you think ?

Sounds reasonable