Release 1.2.5
· 3 min read
Release 1.2.5 is now available, and it's a big one! In this release:
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.