Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Diagramming for WPF, V4.4.1 (Read 37 times)
Forum Admin
YaBB Administrator
*****
Offline


Rock and Roll

Posts: 756
Joined: Apr 6th, 2003
Diagramming for WPF, V4.4.1
Sep 12th, 2026 at 5:47am
Print Post  
We have released version 4.4.1 of WPF Diagramming library. It 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.

Custom lasso tools
If you set the Behavior property of DiagramView to DrawLasso, the control lets users draw selection lasso without changing actual Selection. You could use that in conjunction with InitializeLasso and LassoDrawn events to implement custom tools or selection logic, such as:
  • Opening a custom context menu or UI panel styled for bulk operations.
  • Creating a visual screenshot / export of only the selected region.
  • Implementing custom selection logic or filters (e.g. select nodes of a specific type, or select only links).
  • Bookmarking the selected area (adding it to Bookmarks).

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.

Installer for the latest version can be downloaded here, or from the clients area on our site:
https://mindfusion.dev/WpfDiagTrial.zip

Updated assemblies are also available as MindFusion.Diagramming.Wpf NuGet package.

Enjoy!
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint