The MindFusion Forums
Flow Diagramming Components >> News >> Diagramming for WPF, V3.5

Message started by Forum Admin on Jul 20th, 2017 at 10:30am

Title: Diagramming for WPF, V3.5
Post by Forum Admin on Jul 20th, 2017 at 10:30am
We have released version 3.5 of WPF Diagram control. It contains the following new features and improvements:

Non-blocking layout methods
All graph layout classes now contain an async ArrangeAsync method that runs layout calculations in a background task. This is only available in .NET 4.5 build of the diagram assemblies.

async void OnLayoutLayered(object sender, RoutedEventArgs e)
     var layout = new LayeredLayout();
     await layout.ArrangeAsync(diagram);

VirtualizingDiagram improvements

  • VirtualizingDiagram can contain nodes of different types now. Nodes returned for data items by InstantiateNode callback are stored in separate pools according to their type, and data items reuse node instances from respective pool. VisualCacheSize now specifies the size of per-type node pools.
  • If a data item has Container property set, the control associates its node with Container item's node. It Container item has been realized as a ContainerNode, the source node is added to it as a child. If Container realized node is of another type, the source node is attached as subordinate using AttachTo method. An alternative way to specify container items is via the ResolveContainer callback.

Overview improvements

  • The boolean FitAll has been replaced by ScaleMode enumeration property. It implements a third scaling mode where overview's scale stays fixed and ignores diagram's zoom level.
  • If AllowZoom is enabled, users can zoom the diagram by resizing the overview's viewport tracking rectangle.


  • The LinkTextEdited event is now raised when a LinkLabel has been edited. The edited label is specified via Label property of the event arguments object.
  • LinksPadding property added to LayeredLayout specifies how much space to leave between links when LinkType is set to Cascading.
  • GridAlignPoint property of DiagramNode class specifies which point of a node should snap to a point of the alignment grid.

Installer for the latest version can be downloaded here, or from the clients area on our site:

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


The MindFusion Forums » Powered by YaBB 2.5 AE!
YaBB Forum Software © 2000-2010. All Rights Reserved.