Version 2.6.0

This version improves the runtime performance in certain cases and no longer duplicates identical images.

  • The Media class now allows identifying images with a custom key. The createImage method now accepts an optional string key, which can be used to retrieve an image later with the new getImage method.

  • Bitmap images with the same URL are no longer duplicated in the exported VSDX file. This affects images of the ImageNodeStyle, the IconLabelStyle, and images in SVG converted with SvgProvider or SvgSupport.

  • Bitmap images with the same URL are now only fetched once, decreasing the time to export graphs with many identical images.

  • Converting many simple SVGs with SvgProvider or SvgSupport is much faster than before.

  • Updated the dependency @yworks/canvg to 3.0.12.

  • The formula interpreter now respects the inheritance precedence of cells on the master shape and the master shape’s style sheets in all cases.

  • In the styles viewer demo, the large graph sample now uses the fast canvas styles again, so the DemoEdgeProvider is used again.