Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Version 4.4.1 beta (Read 166 times)
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3518
Joined: Oct 19th, 2005
Version 4.4.1 beta
Aug 31st, 2026 at 10:25am
Print Post  
Version 4.4.1 of MindFusion’s WPF diagramming toolkit contains the following new features and improvements:

Auto-routing improvements
  • Enable the MinimizeCrossings property of PatternRouter to make it select routes with fewer crossings. Note that this adds an additional loop to the algorithm, which may affect performance for large diagrams.
  • PatternRouter now considers the EvaluateFarPoints property of RoutingOptions and selects the best route from the possible start/end point combinations of the link's incident nodes. Note that this adds an additional loop to the algorithm, which may affect performance for large diagrams.
  • Set the MinLinkSpacing property of CompositeRouter to specify the padding between nearby links.

Serialization improvements
  • Json element added to SaveToStringFormat enumeration, and can be used with SaveToString and LoadFromString methods.
  • For naming consistency with XML serialization methods, JSON methods (SaveToJsonFile, SaveToJsonObject, etc) have been renamed to SaveToJson and LoadFromJson, along with corresponding async versions.
  • JSON serialization methods extended to provide full set of Stream overloads.
  • XML serialization methods extended to provide full set of Stream overloads (previously missing altogether from DiagramDocument and missing async versions in Diagram).
  • AutoDeleteItems now saved in JSON format.
  • LaneGrid cell border styling now saved in JSON format.
  • LaneGrid header fonts now saved in JSON format.
  • The order of OutgoingLinks and IncomingLinks is now preserved in JSON format.

API changes
  • Attention: LoadFromJson(string) parameter now specifies file name. Call LoadFromString to load from JSON data string instead. Replace SaveToJson -> String calls with SaveToString(SaveToStringFormat.Json);
  • SaveToJsonFile and SaveToJsonObject replaced by SaveToJson overloads.
  • LoadFromJsonFile and LoadFromJsonObject replaced by LoadFromJson overloads.

If anyone is interested in trying the beta version, please install this (preview mode) nuget package -
https://www.nuget.org/packages/MindFusion.Diagramming.Wpf/4.4.1-beta1

Any comments, questions and general feedback are welcome.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint