Version 2.1.0
This release ensures compatibility with yFiles for HTML 2.4. In addition, it brings some new features, improvements, bugfixes, and a new demo. There are no incompatible changes.
New Features
-
Added support for VSDX background pages. For this, the types of the properties
Page.backgroundandPage.backPagewere corrected. -
The new
CoordinateConverter.createmethod allows to obtain aCoordinateConverterinstance outside aShapeProcessingStep,MasterProvider, or export finished listener.
Improvements
-
Updated the versions of the 3rd-party dependencies Canvg, Color, and JsZip.
-
The
SvgSupport.applySvgmethod no longer requires aCoordinateConverterinstance. The respective parameter was marked as deprecated. -
The
DefaultLabelProviderclass now supports transparent text colors. -
The
ArcEdgeProvider,BezierEdgeProvider, andPolylineEdgeProviderclasses now set thebeginArrowSizeorendArrowSizecells depending on the value of theArrow.scaleproperty if the arrow is an instance of theArrowtype. -
ImageUtils,SvgSupport, and other classes now support blobURLsas image source.
Bugfixes
-
The error "o1 is not part of this tree!" is fixed. This error happened only in combination with yFiles for HTML 2.4.
-
Opening a VSDX file with nested shapes and programmatically adding shapes to it no longer produces shapes with duplicate IDs.
-
The
ImageNodeProcessingStepclass now correctly inherits text properties from master shapes when converting SVG images.