Release 6.15.0
New Functionality
-
When a new node is dropped onto some existing node via the drop manager, the
onVertexAddedcallback onSurfaceDropManagernow passes back information about the vertex on which the new node was dropped. -
Support for the
onVertexAddedcallback was added toShapeLibraryPalette -
Added new
panWithMetaKeyoption to Surface render params. With this flag you can instruct a Surface to only pan when the user is holding down the "meta" key (command key on Macs, ctrl key on Windows).
Further reading
-
Read more about the
onVertexAddedoption onShapeLibraryPalettehere: https://docs.jsplumbtoolkit.com/toolkit/7.x/lib/shape-libraries#getting-notification-of-a-new-vertex -
Read more about the
dropTargetoption onSurfaceDropManagerhere: https://docs.jsplumbtoolkit.com/toolkit/7.x/lib/drag-and-drop#getting-notification-of-a-new-vertex
Start a free trial
Get in touch!
If you'd like to discuss any of the ideas/concepts in this article we'd love to hear from you - drop us a line at hello@jsplumbtoolkit.com.