serhiipylypchuk1991
released this
12 Nov 16:27
·
263 commits
to master
since this release
Released on September 7, 2022
Breaking changes
The new release introduces some changes to the lineGap
property. Check the Migration article to keep in step with the latest version.
New functionality
Diagram
- Radial algorithm of auto-placement of shapes:
- the
placemode
parameter is added to theautoplacement
property - the
placemode
parameter is added to theautoPlace()
method
- the
- The ability to set tooltips for toolbar icons:
- the
tooltip
parameter of the icon object is added to thetoolbar
property
- the
Diagram Editor
- Radial algorithm of auto-placement of shapes:
- the
placemode
parameter is added to theautoplacement
property - the Auto Layout button of Toolbar now provides two options for shapes' auto-placement: Orthogonal and Radial
- the
- Snap lines for arrangement of shapes in the grid area with greater precision
- The ability to configure snap lines via the new
magnetic
property - The ability to copy and paste styles of an item(s) via
Alt (Option) + Ctrl (Cmd) + С
=>Alt (Option) + Ctrl (Cmd) + V
(see the example) - The ability to align and distribute multiple items
- Now tooltips will appear when you hover over controls in the personal toolbar of items
- Extended list of locale options for localization of tooltips in the per-item toolbar
- The ability to set tooltips for custom toolbar icons:
- the
tooltip
parameter of the icon object is added to theshapeToolbar
property
- the
- Improved design of Grid area. Now the distance between points in the grid area depends on the value of the grid step
Fixes in version 5.0
- Fix the issue which caused a loading icon not to disappear from the right panel of Editor after loading a file
Fixes in version 5.0.1
- Diagram Editor. Fix the issue which caused lines not always being drawn in their places if data was exported and then loaded again
- Now it is possible to define the coordinates for lines in the default mode (new
points
property of the line object)
- Now it is possible to define the coordinates for lines in the default mode (new
- Diagram Editor. Fix the issue with dragging of shapes in the grid after changing the zoom level
- Fix the error thrown after clicking on the "Auto layout" button in the absence of shapes
- Fix the issue with display of default settings after creation of lines via the editor
- Fix the issue with scale of Diagram/Diagram Editor appeared when auto-placing shapes in the "radial" mode
Fixes in version 5.0.2
- Diagram Editor. Fix the issue with custom points not moving during a multi select move
- Diagram Editor. Fix the impossibility to link a shape to itself
- Fix the problem with exporting a default diagram without
exportStyles
- Fix the issue with the promiz.js library that caused an error with the
setImmediate()
method definition on importing the sources - Fix path formation of the URL in the Export object
- Types for export are added
Fixes in version 5.0.3
- Fix the issue when calling of the
autoPlace()
method after data parsing caused an error