Skip to main content

Release 6.27.0

· One min read
Simon Porritt
JsPlumb core team

Auto pan

The Surface component will now, by default, automatically pan the canvas when a node or group is dragged out of the visible area. This is a great new feature that will improve the UX for your users.

Try dragging the nodes in the canvas below - the black border marks the edge of the canvas. When a node reaches the border, the canvas is panned:

Compare the behaviour above with how nodes behave when autoPan is switched off:

HierarchyLayout

  • The Hierarchy layout has been updated to better support edge routing when there is more than one root.

React Integration

  • Updated the React ControlsComponent to not add a 'lasso' button when no associated plugin is registered on the surface

Further reading


Start a free trial

Interested in the concepts discussed in this article? JsPlumb is now in maintenance mode, but the good news is that we've released a bigger and better library - VisuallyJs. If you can do it in JsPlumb you can do it more easily in VisuallyJs.

To read more about VisuallyJs, check out the home page, or if you want to get started on a trial right now, head over to the trial page at https://visuallyjs.com/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.