Released: Dec 12, 2022
Aggiornamenti in 2022.R2
Funzionalità
New in MindFusion.Diagramming for WPF
- Pattern router - Added new PatternRouter class which routes links. If there are several possible paths, the router selects the shortest one.
- Composite router - The CompositeRouter class lets you chain routers so a link passes through the sequence until it gets routed successfully.
- SvgExporter improvements
- Opacity is now set as SVG 'opacity' attribute.
- FontWeight is now set as SVG 'font-weight' attribute.
- SvgExporter now sets more precise font size.
- SvgNode improvements
- Added 'ContentAutoBounds' property which specifies whether to calculate content bounds from SVG element coordinates, or to honor the drawing's viewbox.
- SvgNode now displays bitmaps embedded in SVG content.
- SvgNode now supports dashed lines in SVG content.
- Added new grouping types
- Attach to the fractional position of a main node and keep the attached node's size.
- Implement custom group positioning.
- Attach a node to a point from a link's geometry (not necessarily a control point).
- Miscellaneous
- Disabling AvoidOverlaps property of RoutingOptions now lets you create routes with overlapping segments.
- EnableParallelism and MaxDegreeOfParallelism layout properties are now available in CoreCLR assemblies (Microsoft .NET Core 3 and 5+ versions).
- Intersect methods have been changed to 'public virtual' to allow them to be overriden in custom item classes.
- Added property which allows you to set interactive row/column resize mode that preserves total grid size by subtracting resize amount from lane adjacent to the resized one.
- API changes
- Suspend and Resume methods have been removed from ILinkRouter. Call Diagram's SuspendLinkRouter and ResumeLinkRouter methods instead.
- Default Diagram.LinkRouter has been changed from QuickRouter to CompositeRouter instance.
- bool SmartPolylineEnds property of RoutingOptions has been replaced by PolylineRouting enum property, which also provides an option to prevent inclined link segments for LinkShape.Polyline routes.
Correzioni
Fixed in MindFusion.Diagramming for WPF
- Fixed index exception in SvgNode when path coordinates are delimited by new-line characters.
- Fixed text left padding in SvgExporter.