Release 6.26.0
· One min read
HierarchyLayout
- The Hierarchy layout has been updated to support groups which themselves do not have outgoing edges but which have one or more child vertices that do:
Navigating the canvas
- Added
alignContent,alignContentTop,alignContentLeft,alignContentRightandalignContentBottommethods to Surface. - Added support for optional
alignXandalignYarguments to thezoomToFitandzoomToFitIfNecessarymethods on the Surface.
React Integration
- Fixed issue with the
ControlsComponentnot firing events for custom buttons.
Further reading
- See a list of all the methods available for navigating a surface canvas here: https://docs.jsplumbtoolkit.com/toolkit/7.x/lib/navigating-the-canvas
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.