Version 2.3.0

This release adds 'Shape Data' to pages and masters, adds support for deleted section rows and brings many improvements and bugfixes.

  • The new deleted property on the Action, Character, Connection, Control, Field, GradientStop, Paragraph, Property, Scratch, UserDefinedCell, and VsdxPathSegment classes allows marking rows as deleted. This can be used to ignore extra elements inherited from a master or style sheet.

  • The new Value.date constructor allows creating date values.

  • The new properties field on the PageLike class allows defining Shape Data on masters and pages.

  • The EdgePathProcessingStep class now marks extra path segments inherited from the edge master as deleted.

  • The VSDX Export no longer throws an exception when parsing shape text referencing inherited Character, Paragraph, or Field rows. Note that the parsing results may still be wrong for this unsupported feature.

  • Updated the 3rd-party dependency Canvg. Among other things, this resolves issues when exporting yFiles diagrams with the MarkupLabelStyle.

  • The Connects.create method now correctly has parameters in typings and documentation.

  • The begTrigger, bevelBottomType, bevelLightingType, bevelMaterialType, bevelTopType, calendar, centerX, centerY, colorSchemeIndex, compoundType, conFixedCode, conLineJumpCode, conLineJumpStyle, connectorSchemeIndex, displayLevel, displayMode, distanceFromGround, drawingResizeType, drawingScaleType, drawingSizeType, dropOnPageScale, dynFeedback, effectSchemeIndex, embellishmentIndex, endTrigger, eventDblClick, eventDrop, eventMultiDrop, eventXFMod, fontSchemeIndex, glowColorTransparency, glowSize, hideForApply, inhibitSnap, keepTextFlat, lineAdjustFrom, lineAdjustTo, lineJumpCode, lineJumpStyle, lineRouteExt, pageLineJumpDirX, pageLineJumpDirY, pageShapeSplit, pagesX, pagesY, paperKind, paperSource, perspective, placeDepth, placeFlip, placeStyle, plowCode, printPageOrientation, quickStyleEffectsMatrix, quickStyleFillColor, quickStyleFillMatrix, quickStyleFontColor, quickStyleLineColor, quickStyleFontMatrix, quickStyleLineMatrix, quickStyleShadowColor, quickStyleType, quickStyleVariation, reflectionBlur, reflectionDist, reflectionSize, reflectionTransparency, relationships, replaceCopyCells, replaceLockFormat, replaceLockShapeData, replaceLockText, rotationType, scaleX, scaleY, selectMode, shadowObliqueAngle, shadowScaleFactor, shadowType, shapeFixedCode, shapePlaceFlip, shapePlaceStyle, shapeRouteStyle, shapeShadowObliqueAngle, shapeShadowScaleFactor, shapeSplit, shapeSplittable, sketchAmount, sketchLineWeight, sketchSeed, softEdgesSize, textDirection, theData, themeIndex, theText, useGroupGradient, variationColorIndex, and variationStyleIndex properties on the Stylable class now have the correct types in typings and documentation.

  • The bevelBottomType, bevelTopType, keepTextFlat, useGroupGradient properties on the Stylable class are now parsed correctly.

  • The base types of the classes Actions, Connect, Connects, Controls, Properties, and VsdxCollection are now correct in the typings and API documentation.

  • NURBSTo path segments are now correctly parsed.

  • The public methods Gradient.createGradientStop and User.defineCell are no longer wrongly obfuscated.

  • The Shape.resizeMode property is now serialized correctly and has the correct type in documentation and typings.

  • The indices of path segments parsed from existing VSDX files are now preserved during serialization.

  • Date values are now parsed and serialized correctly.

  • The Field.uiCategory, Field.uiCode, and Field.uiFormat properties are now serialized and parsed correctly.

  • VsdxPath.ellipticalArcTo segments are now serialized correctly.

  • DefaultLabelProvider and DefaultLabelProcessingStep no longer consume MarkupLabelStyle, meaning the markup text can now be correctly rendered by the SvgProvider and SvgProcessingStep.