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


Rock and Roll

Posts: 687
Joined: Apr 6th, 2003
Diagramming for WPF, V2.5.2
May 3rd, 2011 at 12:11pm
Print Post  
We have released version 2.5.2 of WpfDiagram. It adds the following new features:

Dynamic node shapes
Shape instances can be defined using custom code that takes into consideration the current width and height of nodes. This allows creating shapes whose primitive elements change non-uniformly, e.g. by growing only in width or height when a node is resized. There are two ways to create such shapes. The first one is to use the Shape constructor that takes a CreatePathDelegate parameter, which can be implemented using a .NET function. Another Shape constructor takes a string argument that represents a Visio-like shape formula evaluated in run-time. The latter method enables serializing the shape code in external files, which can be reused by different applications and by MindFusion components for other platforms.

SpringLayout improvements
~ Better handling of large nodes and nodes with non-uniform size.
~ The SpringLayout energy model has been changed to one that leads to better symmetry in the arranged graphs. The old model can still be used by setting LayoutMethod to Classic. This is recommended when using rounded links.
~ The Randomize property allows starting the layout process from random node positions.

Miscellaneous
~ Call SetZoomFactor to zoom the diagram with the specified zoom center point.
~ The DrawAdjustmentHandles method can be used when custom-drawing to render adjustment handles with their standard look and feel.
~ Set the StableSort property to get consistent results between different runs of LayeredLayout.
~ If hosted controls implement ICloneable, DiagramNodeAdapter uses the Clone method to copy them instead of serialization through XamlWriter and XamlReader.

Registered customers with an active upgrade subscription can download the licensed version from the clients area on our site.
    
A trial version is available for download here: 
https://mindfusion.eu/WpfDiagTrial.zip

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