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, flowcharts, chatbots, bar charts, decision trees, mindmaps, org charts, gantt charts and more - JsPlumb - JavaScript and Typescript diagramming library that fuels exceptional UIs

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.

Release 6.19.0

· One min read
Simon Porritt
JsPlumb core team

This is a minor release which contains a fix for an issue with the surface component using a selection as its data source.

The ability to render some selection of your dataset, as opposed to the entire dataset, is a powerful concept that can be used to create some very advanced apps, such as our Collapsible Hierarchy demonstration:

collapsible hierarchy language browser - JsPlumb - JavaScript and Typescript diagramming library that fuels exceptional UIs

and also the Neighbourhood Views demonstration:

neighbourhood views chemical element browser JsPlumb, leading alternative to GoJS, JointJS and ReactFlow - JsPlumb - Angular, React, Vue, Svelte diagramming library

Release 6.18.0

· 2 min read
Simon Porritt
JsPlumb core team

The main change in 6.18.0 is that we've introduced a brand new home for JsPlumb's apidocs - https://apidocs.jsplumbtoolkit.com. This site is far easier to navigate than our previous apidocs pages, with a cleaner layout and a search bar, and we've taken steps to setup our URL scheme such that going forward it will be easy to access the apidocs for some specific version.

apidocs for JsPlumb 6.18.0 - JsPlumb, leading alternative to GoJS, JointJS and ReactFlow

Angular signals integration

· 8 min read
Simon Porritt
JsPlumb core team

Angular's new(ish) Signals system is a great addition to their library, and one which we're keeping an eye on with a view to updating JsPlumb's Angular integration to help you make the best use of it.

Signals were introduced in Angular 16 and have been improved upon in Angular 17. We know that upgrading Angular versions is not something people take lightly, so for the time being we are focusing on what Angular 16 offers, and we'll be looking at ways of releasing support in JsPlumb.

Right now, though - if you're already using Angular 16 or 17 - we thought you might like to see how you can take advantage of signals with the current version of JsPlumb.

Release 6.16.0

· 2 min read
Simon Porritt
JsPlumb core team

Orthogonal connector paths

We've made a major improvement to orthogonal connector path editing in version 6.16.0. In a nutshell, it's now far harder for a user to inadvertently get the UI into the situation that a connector doubles back onto itself underneath a vertex, which makes for a more intuitive experience. This is how the editor behaves in 6.16.0:

orthogonal connector vertex avoid - JsPlumb - JavaScript and Typescript diagramming library that fuels exceptional UIs

and this is how the editor behaves in versions prior to 6.16.0:

orthogonal connector vertex overlap - JsPlumb, leading alternative to GoJS, JointJS and ReactFlow

We think the behaviour in 6.16.0 is much nicer.

Release 6.15.0

· One min read
Simon Porritt
JsPlumb core team

New Functionality

  • When a new node is dropped onto some existing node via the drop manager, the onVertexAdded callback on SurfaceDropManager now passes back information about the vertex on which the new node was dropped.

  • Support for the onVertexAdded callback was added to ShapeLibraryPalette

  • Added new panWithMetaKey option 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).