Skip to main content

Release 6.21.0

· 2 min read
Simon Porritt
JsPlumb core team

Nested instances

  • Support was added for zooming in nested instances (eg. when some node in a given instance has another instance of JsPlumb embedded in it).

  • Support was added for dragging edges in nested instances.

You can see these new capabilities in action in our Nested instances demonstration.

nested instances desktop JsPlumb - JavaScript and Typescript diagramming library that fuels exceptional UIs - JsPlumb - Angular, React, Vue, Svelte diagramming library

Inspectors

  • Inspectors were updated to ensure they are cleaned up when the port they are inspecting is removed from the dataset, or the node/group which the port they are inspecting belongs to has been removed from the dataset.

Drag/drop improvements

  • Surface Drop manager was updated to not assign active/hover classes to nodes and groups in the canvas when allowDropOnNode or allowDropOnGroup is set to false.

Miscellaneous

  • Events bound on a Surface via bindModelEvents are invoked in a timeout, which better isolates event binding behaviour from the Surface's lifecycle.

  • ControlsComponent consumes events it has handled instead of allowing them to bubble.


Further reading


Start a free trial

Sending your evaluation request...

Interested in the concepts discussed in this article? Start a free trial and see how JsPlumb can help bring your ideas to market in record time.


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.