Version 2.6.0
This version improves the runtime performance in certain cases and no longer duplicates identical images.
New Features
-
The
Mediaclass now allows identifying images with a custom key. ThecreateImagemethod now accepts an optional string key, which can be used to retrieve an image later with the newgetImagemethod.
Improvements
-
Bitmap images with the same
URLare no longer duplicated in the exported VSDX file. This affects images of theImageNodeStyle, theIconLabelStyle, and images in SVG converted withSvgProviderorSvgSupport. -
Bitmap images with the same
URLare now only fetched once, decreasing the time to export graphs with many identical images. -
Converting many simple
SVGswithSvgProviderorSvgSupportis much faster than before. -
Updated the dependency
@yworks/canvgto 3.0.12.
Bugfixes
-
The formula interpreter now respects the inheritance precedence of cells on the master shape and the master shape’s style sheets in all cases.