Skip to main content

28 posts tagged with "snaplines"

View All Tags

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, industry standard diagramming and rich visual UI Javascript library - JsPlumb, build diagrams and rich visual UIs fast

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 - When you've reached the limit with ReactFlow, we can help!

and also the Neighbourhood Views demonstration:

neighbourhood views chemical element browser JsPlumb, build diagrams and rich visual UIs fast - JsPlumb - When you've reached the limit with ReactFlow, we can help!

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 - When you've reached the limit with ReactFlow, we can help!

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 - Angular, React, Vue, Svelte diagramming library

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

orthogonal connector vertex overlap - JsPlumb, flowcharts, chatbots, bar charts, decision trees, mindmaps, org charts, gantt charts and more

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).

Release 2.50.0

· One min read
Simon Porritt
JsPlumb core team

Recently a licensee who is still using version 2.x of JsPlumb wanted to upgrade their app to use Angular 16, but did not have the bandwidth to undertake an upgrade to the latest 6.x version of JsPlumb. So we pulled down 2.4.16 (the last version in the 2.x line), dusted it off to support Angular 16+, and released it as 2.50.0.

Version 2.50.0 is available to all licensees who currently have access to downloads (including new licensees). We don't recommend using 2.50.0 in preference to 6.x, but if you find yourself in a similar situation you might like to consider it.