Changelog
1.2.7
21st September 2026
General
- Added new Scada/HMI starter app to all libraries. This app provides a solid foundation on which you can build your own Scada/HMI apps, with a look and feel that is aligned with the HMI ISA-101 Standard.
- Update bubble/scatter chart custom marker code to not require namespaced elements in the SVG snippets returned from a
resolveMarkercall - Added
nametoPropertyMappings. This is an optional human readable name that is used by inspectors. - Updated overlay definition code to handle the case that an overlay/marker is specified as an object with "type" but no "options"
- Improved CSS/rendering for the edge type picker
- Added support for boolean false for 'rotatable' property of
Label/Customoverlay: with this set, the label never rotates to make the text upright. - Added new CSS vars to resize tools/diagram tools plugins:
--vjs-resize-handle-fill-colorFor the fill of the resize handles, defaults to #FFFFFF--vjs-resize-frame-line-widthFor the stroke width of the resize frame, defaults to 2px
React
- Made the
optionsprop of all charts reactive, so that the chart re-initializes if it changes - Added
EdgePropertyMappingsInspectorcomponent - an inspector that automatically renders a form for managing the properties of an edge from the installed edge property mappings. - Added
ShapePropertiesInspectorcomponent - an inspector that automatically renders a form for managing the properties of some shape defined in a shape set
Angular
- Made the
data,urlandoptionsinputs reactive on all charts - Added
EdgePropertyMappingsInspectorcomponent - an inspector that automatically renders a form for managing the properties of an edge from the installed edge property mappings. - Added
ShapePropertiesInspectorcomponent - an inspector that automatically renders a form for managing the properties of some shape defined in a shape set
Svelte
- Made the
data,urlandoptionsprops reactive on all charts - Added
EdgePropertyMappingsInspectorcomponent - an inspector that automatically renders a form for managing the properties of an edge from the installed edge property mappings. - Added
ShapePropertiesInspectorcomponent - an inspector that automatically renders a form for managing the properties of some shape defined in a shape set
Vue
- Made the
data,urlandoptionsprops reactive on all charts - Added
EdgePropertyMappingsInspectorcomponent - an inspector that automatically renders a form for managing the properties of an edge from the installed edge property mappings. - Added
ShapePropertiesInspectorcomponent - an inspector that automatically renders a form for managing the properties of some shape defined in a shape set
1.2.6
10th September 2026
General
- Improved label placement for SVG shapes when label position is "top" or "bottom"
- Added support for SVG shape label background.
Svelte
- Fixed issue in the ShapePaletteComponent with auto edge options
1.2.5
7th September 2026
General
- Added support for rotating elements that are being dragged from a palette by tapping/holding a specific key
- Added the concept of "auto edge connect": elements that are being dragged from the palette can be automatically connected to existing vertices by dragging them over connection points.
- The
ShapePaletteandDiagramPaletteclasses now supportallowDropOnEdge- you can drag a shape onto an edge and drop it, and the edge will be automatically split. - Fixed painting issue with lasso in SVG containers
- Fixed issue with incorrect location of port elements on a rotated node in an SVG container
- Aesthetic improvements to the lasso in both apps and diagrams, including exposing several new CSS vars for theming.
- Added support for
data-vjs-anchor,data-vjs-source-anchoranddata-vjs-target-anchorto edge drag/click to add functionality.
Starter Apps
- New starter app
Fault Tree Analysisadded. This is a dashboard containing a Fault Tree Analysis chart, with a Cut Sets view and a Risk Contribution view - New starter app
Logic Gatesadded - New starter app
Circuit Diagramadded
Vue
- Made the
dataandurlprops of theSurfaceComponentandPaperComponentreactive, making these components easier to work with inside a Vue app. - Added support for rotating elements that are being dragged from a palette by tapping a specific key
- Added auto edge connect support to
PaletteComponent,DiagramPaletteComponentandShapePaletteComponent
Svelte
- Made the
dataandurlprops of theSurfaceComponentandPaperComponentreactive, making these components easier to work with inside a Svelte app. - Added support for rotating elements that are being dragged from a palette by tapping a specific key
- Added auto edge connect support to
PaletteComponent,DiagramPaletteComponentandShapePaletteComponent
React
- Added support for rotating elements that are being dragged from a palette by tapping a specific key
- Added auto edge connect support to
PaletteComponent,DiagramPaletteComponentandShapePaletteComponent
Angular
- Added support for rotating elements that are being dragged from a palette by tapping a specific key
- Added auto edge connect support to
PaletteComponent,DiagramPaletteComponentandShapePaletteComponent
Breaking
- The new
updateTypeOnPaletteTapoption for shape palettes and diagram palettes technically constitutes a breaking change, as this flag switches on behaviour that was previously on by default: when something is selected in the canvas and you click a shape in the palette, the selected vertices' type is changed to match the clicked shape.
1.2.4
18th August 2026
General
- Added new
Bowtielayout - a two sided hierarchy, such as you might use in a Mindmap. - Added support for
autoArmandarmTimeoutto the lasso plugin - the plugin switches on after a long press on the canvas, without the user needing to switch the surface to select mode. - An update was made to
PaperComponentto fix an alignment issue.
Starter Apps
- Our Mindmap starter apps were updated to use the new
Bowtielayout instead of the custom layout they were previously using. - Ported JsPlumb's "neighbourhood views" starter app to VisuallyJs - an app that shows how you provide several different views of the same dataset on a single page
Vue
- The renderer was updated to ensure that the
vertexpassed to Surface/Paper vertex components is marked raw, and not converted to a Proxy by Vue. - Added support for optional
dataTypeprop on the Surface/Paper components
React
- Added support for optional
dataTypeprop on the Surface/Paper components
Svelte
- Added support for optional
dataTypeprop on the Surface/Paper components
Angular
- Added support for optional
dataTypeprop on the Surface/Paper components
1.2.3
7th August 2026
General
- A new "line crossings" plugin was added. This plugin works alongside the
Orthogonalconnector (or a Straight connector with orthogonal constraint applied) to draw markers where two edges intersect. Markers may be a bridge, a gap or a dot, and may be placed on either the horizontal or vertical segment at an intersection. - Connector and anchor computation was updated to snap values to a half pixel increment. This helps avoid painting issues related to antialiasing, particularly at high zoom levels.
1.2.2
1st August 2026
General
- Internal updates to the
update***methods to ensure that any associated type change is grouped along with the updates in a transaction. - Added new
relayoutOnVertexRemoveoption to Surface and Paper. Useful when you're using a static layout such as the Hierarchy layout.
Vue
- Added
BackgroundComponent,GridBackgroundComponent,ImageBackgroundComponentandTiledImageBackgroundComponent - Internal updates to the re-render mechanism
Angular
- Added
BackgroundComponent,GridBackgroundComponent,ImageBackgroundComponentandTiledImageBackgroundComponent - Added new
$edgeData(),$sourceData()and$targetData()signals to theBaseAngularOverlayComponent. These give you reactive access to the data for the edge and for its source and target vertices.
Svelte
- Added
BackgroundComponent,GridBackgroundComponent,ImageBackgroundComponentandTiledImageBackgroundComponent - Added
usePaperhook - Added
hideprop to the snippet passed toSurfacePopup. - Updated Svelte component overlays to make the
edge(and itssource/target) reactive, so the overlay can now show a live view of the edge's backing data or that of its source/target.
Issue Fixes
- #5 - Lasso consumes tap event on edge
- Vue/Angular Fix for the
SurfacePopup's hide function - it was not locating the ref correctly.
Breaking
- The
refreshLayoutOnEdgeConnectSurface/Paper render option was renamed torelayoutOnEdgeConnect
1.2.1
28 July 2026
General
- The
EVENT_GRAPH_CLEAREDevent, fired by the model, now passes the model that fired it as a payload. - The Surface was updated to fix an issue where it was holding on to stale viewport dimensions: calling
zoomToFitafter external change to viewport element size would use the cached dimensions. - Added the
data-vjs-no-eventsattribute which can be set on any element inside a node vertex, marking it as excluded from firing mouse events for that vertex. - Updated
centerOnandcenterOnAndZoomin the Surface to support optional centering on multiple elements as opposed to just a single one. - Added support for a
vjs-portattribute on controls inside an inspector. This allows you to edit properties on ports inside your vertices from the vertex inspector.
Breaking
- The previous
Indexclass was renamed toGraphSearchIndex - In
BaseAngularOverlayComponent, thesurfacemember was renamed toui; its type is now derived from a type parameter on the class (which you declare when you create a subclass)
React
- The
useZoomhook no longer requires that auican be passed in: it can derive one from the context. overlaysis now marked optional in theReactEdgeMappinginterface used in view options- Added
SurfacePopupcomponent, an automatic mechanism for launching a popup on a vertex component and keeping it located correctly as the user pans, zooms and drags the vertex. InspectorComponentupdated to function correctly inside aPaperProviderorPaperComponent
Vue
- Added
SurfacePopupcomponent, an automatic mechanism for launching a popup on a vertex component and keeping it located correctly as the user pans, zooms and drags the vertex. - Added support for Vue component overlays
Svelte
- Added
SurfacePopupcomponent, an automatic mechanism for launching a popup on a vertex component and keeping it located correctly as the user pans, zooms and drags the vertex. - Added support for Svelte component overlays
Angular
- Added
SurfacePopupcomponent, an automatic mechanism for launching a popup on a vertex component and keeping it located correctly as the user pans, zooms and drags the vertex. - Added several new signals to the
BaseVertexComponent-sourceEdges(),allSourceEdges(),targetEdges()andallTargetEdges(). With these signals you can dynamically respond to connectivity changes inside your templates. - Added
PaperComponent- a fixed view version of SurfaceComponent, with the same support for rendering but no pan/zoom, and which automatically adjusts its dimensions to fit into its viewport. - Updated
PaperComponent,SurfaceComponentandDiagramComponentto make the url/data input signals
1.2.0
July 14th 2026
General updates
- Circular layout has new
centerContentoption, to avoid placing nodes in negative space (useful when used inside a Group in particular) - New config
groupPropertyadded to model options. You can set the name of the property that identifies group membership in your node/group data, if the default value ofgroupclashes with your dataset. - Added
SelectionGeneratortype, defining thegeneratorfunction that can be used to fill aVisuallyJsSelection - Updated transaction handling to ensure the
transaction(...)method could be nested cleanly - Added functionality to the Palette in TAP mode where you can tap an item again to exit the drag (where previously you'd have to press Escape)
React
dataandurlare now reactive props in the ReactSurfaceComponent. A small but very powerful change, allowing much greater composability of theSurfaceComponentin your apps- Added new React
PaperComponent, which functions as a static version of a surface - no pan/zoom or dragging, and the content is zoomed to fit the viewport at all times. - Added new
useVisuallyJsUpdatehook. This hook lets you respond to updates in the underlying model, and is handy for such use cases as components which display information about the current state of the model. - (breaking) The
useZoom(),useVisuallyJsModel()anduseDiagram()React hooks now return a reactive state object instead of a Promise.
Angular
- Added new
useVisuallyJsUpdatehook. This hook lets you respond to updates in the underlying model, and is handy for such use cases as components which display information about the current state of the model. - Added new
useZoomhook, providing access to a signal containing the current zoom for the UI in context. - Converted the
VisuallyJsServiceto expose model/surface/paper/diagram as signals, and deprecated the previous callback approach to accessing these members. - Updated the
Ganttstarter app to have feature parity with the React Gantt
Svelte
- Added new
useVisuallyJsUpdatehook. This hook lets you respond to updates in the underlying model, and is handy for such use cases as components which display information about the current state of the model. - Added new
NetworkInfrastructureandSupplyChainstarter apps. These are clones of the same apps that previously only existed for React/Angular, demonstrating how to build integrated dashboards with various VisuallyJs components sharing a single model. - Added
BPMNstarter app - Updated the
Ganttstarter app to have feature parity with the React Gantt - Updated all of the chart components to source their data from a model in scope, when data/url not provided
- Replaced all usages of
<slot></slot>elements with the modern{@render children?.()}syntax - Updated
InspectorComponentto optionally take a 2-way state object defining the current selection. This reduces the amount of boilerplate code required to use the inspector. - Updated the
SankeyChartComponentto set thepivotproperty to be reactive - Added
Mindmapstarter app - (breaking) The
useZoom()hook no longer takesuias a prop; it finds the UI from the context
Vue
- Added new
useVisuallyJsUpdatecomposable - Updated the
Ganttstarter app to have feature parity with the React Gantt - Updated
InspectorComponentto support passing in av-model, which is a reactive object that references the current selected object. Using this, you can do away with the need forrefreshandrenderEmptyContainerfunctions (and that approach is now deprecated) - Added
BPMNstarter app - Added
useSurface,usePaperanduseDiagramcomposables, for access to the UI in scope - (breaking) Updated
useZoomto not take auias argument, instead resolving the UI from the context - Added
ERDstarter app - an entity relationship diagram - Added
Mindmapstarter app - Added new
NetworkInfrastructurestarter app
Breaking
- The
useZoom(),useVisuallyJsModel()anduseDiagram()React hooks now return a reactive state object instead of a Promise. - The
useZoom()hook in the Svelte integration no longer takesuias a prop; it finds the UI from the context - The
useZoom()composable in the Vue integration no longer takes auias argument, instead resolving the UI from the context
Deprecated
- The
getModel,getSurface,getPaper,getInspectorandgetDiagramsmethods of the AngularVisuallyJsServiceare deprecated. Use the signals based approach instead. - The
refreshandrenderEmptyContainerfunctions in theInspectorComponentfor both the Vue and Svelte integrations are deprecated; see above for alternatives.
1.1.4
29 Jun 2026
- Added support for the lasso inside of groups
- Added support for automatically panning the surface when the user lassos outside of the visible area.
- Lasso is shown on miniview while it is being used (can be switched off)
- Updated miniview so that it highlights vertices that are selected in the canvas
- UI fires
EVENT_EDGE_DRAG_START,EVENT_EDGE_DRAG,EVENT_EDGE_DRAG_END,EVENT_EDGE_DRAG_ABORTevents during edge drag lifecycle now - Added support for auto pan of the canvas when a user is dragging a new edge or relocating an existing edge.
- Added
addVertexDragFilter(f:VertexDragFilter<BrowserElement>)method toSurface - Diagrams do not, by default, draw a border around a selected edge now. Use
edges.highlightSelected:truein your Diagram options to enable this behaviour. - Improved the way drag handles for edges are drawn to make it easier for users to locate them.
1.1.3
13 Jun 2026
- Fix for issue #2: modelOptions.portSeparator not propagated to Model.
1.1.2
10 Jun 2026
- Updated rotatable label/custom overlays so that the default behaviour is to ensure the overlay is "upright", ie. the text is not flipped, making the overlay difficult to read.
- Added 'strict' label/custom overlay rotate mode, in which the overlay is always rotated to the computed angle, even if it means it may be difficult for the user to read.
1.1.1
9 Jun 2026
- Added support for rotatable custom overlays and HTML element overlays.
- Updated custom overlay
createmethod to take edge, UI and model as arguments.
1.1.0
1 Jun 2026
- Added
zoom()signal to Angular base components, to support selective rendering of content based on zoom level - Added
useZoomhook to Svelte and React integrations, to support selective rendering of content based on zoom level - Added
useZoomcomposable to Vue integration, to support selective rendering of content based on zoom level - Improved API docs
- Updated
ForceDirectedLayoutto ensure that attraction/repulsion is clamped to a specific range, to avoid blowouts in positioning. - Added support for pluggable router
- Palette uses
.vjs-palette-drag-activeand.vjs-palette-drag-hoverclasses now, instead of using the same ones that are used in the edge drag lifecycle. - Added scrolling list manager plugin
- Fixed issue in
Snaplinesplugin that would cause it to not reset if drag was aborted. - Added the ability to provide
sortfunction to theGridLayout(andColumnLayout/RowLayout) - Fixed positioning issue when labels on a chart were rotated 45 degrees to maximise space
1.0.3
14 May 2026
- Expose
activeFilteringflag onDiagramOptions
1.0.2
13 May 2026
- Adjust source selectors to allow root level element drag in React
1.0.1
13 May 2026
- Packaging updates (readme/issue list etc)
1.0.0
11 May 2026
Initial release.
Updates
New Features
- 3x faster rendering engine
- Charts module, with support for a number of different 2D charts, and export to SVG/PNG/JPG
- SVG diagrams module - dedicated SVG renderer, with support for export to SVG/PNG/JPG
- Diagram tools
- BPMN shapes - tasks, events, pools, lanes, start, end
- Support for "click to add" edges
- Support for edge snap to targets
- Source/target markers (overlays placed at either end of an edge that the edge does not overlap)
- Rotate vertices tool
React
- Modernized API - streamlined and easier to use
- DiagramComponent
- ChartComponents
- InspectorComponent refactored to be far more simple to use
- MiniviewComponent, ControlsComponent, ExportControlsComponent and InspectorComponents can now be declared in your JSX as children of a SurfaceComponent
Angular
- Modernized API - streamlined and easier to use
- A default component is now used for nodes/groups if you do not map one in your view - helpful for rapid prototyping or UIs that dont need complex content.
- Miniview, Controls, ExportControls and Inspector components can now be declared in your template as children of a Surface component
Vue
- Modernized API - streamlined and easier to use
- Added Surface/Diagram providers, allowing for easier composition of UI
- Added injectable VisuallyJs service, exposing the Surface/Model/Diagram that is in the current context for some component.
- All starter apps are now available for Vue
Svelte
- Modernized API - streamlined and easier to use
- Added Surface/Diagram providers, allowing for easier composition of UI
- All starter apps are now available for Svelte
Miscellaneous updates
- Hierarchy layout align leaves on final layer
- Improved orthogonal + bezier connector editors
- Improved documentation
- New look and feel for controls, miniview and resize tools
- Full support for groups and nested groups in the SVG renderer
- SVG shapes updates - new Label shape, shapes publish properties, ShapeLibraryInspector
- Template updates - ability to use the '||' operator in attribute values. Applies when using Vanilla templates and also in the chart and shape library templating.
- Controls component "clear selection" button
- Snaplines plugin now takes rotation into account
- The
ResizingToolsPluginregisters a drag filter on the underlying Surface, meaning you no longer need to add one in your render options. - The
updateNodeandupdateGroupmethods now set the position of the vertex's DOM element if the update includesleftortop(or, for a Diagram,xory) values. Previously you had to usesetPosition(..)and thenstorePositionInModel(..) - Adhoc layouts are now run inside a transaction, and can be undone/redone.
- Added support for
cornerRadiusto Segmented connector. - Added support for
panWithMetaKeyoption to the Surface. With this set, users need to hold the meta/ctrl key in order to instigate a pan. - Added support for auto entering edge edit mode when user taps (and auto exit when they tap whitespace in the canvas)
- Miniview elements now move as their related surface element is being dragged, unless you set
dynamic:falseon the miniview.
Breaking changes
General
- IMPORTANT: The
Sizeinterface was changed from{w:number, h:number}to{width:number, height:number}. This is a small change from a code perspective but with far-reaching effects - any part of a JsPlumb app in which you specify a size for something, be it a grid, or the size of icons in a shape library palette, or the max size for a group, etc, will need to be updated for VisuallyJs to use the new interface. We made this change to make the code more internally consistent: width/height were used by the drawing tools and are also standard for various DOM interfaces. - The default anchor is now
Continuous, where previously it wasBottom. We listed this above as a feature but if your app is relying on the default at any point you'll see a change. - The concept of
Endpointhas been removed. From a visual perspective, you can replace endpoints with the newDot,RectangleandEllipseoverlays, optionally registered as markers. Orthogonalconnectors no longer support loading data in the JsPlumb 2.x format.- The
legacy-jsondatatype, in which ports are listed at the top level alongside nodes, groups and edges, is no longer supported. - The list manager, which was part of JsPlumb Community edition, was removed.
- The concept of a
data manager- an add-on that responds to changes in the data model - was removed. This functionality can be modelled, if desired, by listening to appropriate model events. - Dotted notation for left/top values in vertex backing data is no longer supported. Your left/top properties must be in the top level of the backing data for each vertex.
- Removed constant
CLASS_DRAG_SELECT_DEFEAT- it was a duplicate ofCLASS_SELECT_DEFEAT
Drag/Drop
-
SurfaceDropManagerandDropManagerhave been replaced with a new classPalette. This class has several enhancements to the previous classes:- it has a
clickmode where the user can select an item in the palette and then click on the canvas to drop it - it supports
ignoreDropOnNode, a flag indicating that the palette should just ignore nodes altogether, and whenever something is dropped on a node or hovering over a node, the palette treats it as if it is over whitespace on the canvas
- it has a
Surface
- Removed
autoExitSelectModeflag from the surface render options. To set this up now you should provide anautoExitflag to the lasso plugin. - Removed
enhancedViewflag from the surface render options. This behaviour is always switched on now. - Removed
addToDragSelectionOnSelectfrom the surface render options. What this means is that in VisuallyJs if you have one or more vertices in the current selection, they will not be dragged when some other vertex (not in the current selection) is dragged. This probably seems intuitive to you, which is why this flag has been defaulting to false and has now been removed. Use drag groups, or add all nodes you want to drag to the current selection, to drag multiple vertices. - Removed
refreshAutomaticallyflag from the surface render options. This behaviour is permanently switched on in VisuallyJs. - Removed
storePositionsInModelfrom the surface render options. This behaviour is permanently switched on in VisuallyJs.
Nodes/Groups
filterin the surfacedragOptionsis now a function.cssFilterhas been introduced to replicate whatfilterused to do.
Edges
- Edge geometry uses an object based syntax now instead of array based.
simpleEdgeStylesin render options has been moved into the newedgesoption (instead ofsimpleEdgeStyles:trueyou now need{edges:{simpleEdgeStyles:true}})propertyMappingsin render options has been moved into the newedgesoption (instead ofpropertyMappings:{...}you now need{edges:{propertyMappings:{...}}})editablePathsin render options has been moved into the newedgesoption (instead ofeditablePaths:trueyou now need{edges:{editable:true}})slightlyWonkyoption removed from Orthogonal connector
Plugins
- The
DrawingToolsPluginhas been renamed toResizingToolsPlugin, and the associated.jtk-draw-...classes have all been renamed to.vjs-resize-.... The type has changed from "drawingTools" to "resizingTools" (but its best to useResizingToolsPlugin.typein your render options instead of a string anyway) - The
ActiveFilteringPluginwas removed, replaced with anactiveFilteringoption in the render options to a surface.
Angular
- Components are prefixed with
vjs-instead ofjtk-
Vue
- Vue 2 Integration removed. Vue 2 reached EOL on December 31st 2023 and is no longer receiving new features, updates or bug fixes.
CSS
- The default stylesheet now declares
position:absolutefor.jtk-miniview(previously this wasposition:relative). - Class names are prefixed with
vjs-instead ofjtk-.