Version 2.4.0

This release adds support for the new item styles of yFiles for HTML 2.5, and thus requires at least that version of yFiles.

  • All new item styles of yFiles for HTML 2.5 are now supported by the export. Namely, this includes the new GroupNodeStyle, RectangleNodeStyle, ArrowNodeStyle, and ArrowEdgeStyle classes, and the new shapes of the ShapeNodeStyle and DefaultLabelStyle classes. The demos now make use of the new styles.

  • Updated the third-party dependencies jszip to 3.10.1 and regenerator-runtime to 0.13.11, and the optional dependency core-js to ^3.27.0.

  • The library is now included as tgz npm package. This eliminates the need to assemble this package at first startup, which sometimes caused problems.

  • The version of the VSDX Export npm package now uses build metadata to indicate whether it’s an evaluation version (+eval). Previously, this was included in the pre-release part of the version string, which was semantically not correct and made switching from an eval to a non-eval versions more complicated.

  • The SvgProcessingStep class now uses absolute coordinates for exporting labels. As a result, label visuals that depend on such coordinates are now exported correctly, for example the node labels in the yFiles’s Node Label Placement Demo.

  • If the graph component uses an unsupported SVG feature for the visualization, the export now prints a warning with a meaningful message to the browser’s console. Previously, this resulted in throwing a cryptic error.

  • To improve startup time and to simplify configuration, most demos now use Vite instead of webpack.

  • Improved markup for the API doc in the TypeScript type definitions that now displays correctly in both VS Code and WebStorm.