WpfDiagram version 3.3 contains the following new features and improvements:
Support for Visio stencilsThe diagram can now display shapes from stencil files in Visio 2003 XML stencil format (.vsx). To load a stencil file, use an instance of the VisioStencil class. The shapes are displayed in the diagram through VisioNode objects. To associate a stencil shape with the node, create an instance of the VisioContent class and assign it to the node's Content property.
Note that standard stencils installed with Visio are copyrighted by Microsoft, and you should not use them in your application. This feature is intended to let you use public domain stencils, or commercial clipart you have purchased a license for.
Visio import and export classes do not support VisioNodes yet; this will be implemented in next releases.
License keysThere is no separate trial build of the control assemblies anymore. Instead, set the Diagram.LicenseKey property to disable the component's evaluation mode and stop displaying trial messages. If your application contains more than one Diagram instance or other controls by MindFusion, you could call MindFusion.Licensing.LicenseManager.AddLicense(key) from application start-up code to specify the key once instead of setting it per each control. License key strings are now listed on the Keys & Downloads page at MindFusion's customer portal.
AnchorPatern improvements~ The XUnit and YUnit properties allow specifying the coordinates of an AnchorPoint as a fixed offset from the node's top-left corner rather than in percentage, so that the point position does not change when the node is resized.
~ The AnchorPattern property of Shape class lets you associate anchor points with shape definitions. If a ShapeNode instance does not contain its own AnchorPattern, it will derive the one defined by the node's Shape.
~ TableNode.RowAnchorPattern property lets you specify default AnchorPattern for all table rows.
Miscellaneous~ LinkHitDistance is now backed by a dependency property.
~ Fixed node spacing in bottom-to-top TreeLayout.
~ TabbedDiagramView.AllowRenamePages now automatically sets new Title values instead of only raising events.
~ ChangeUnit now also scales stoke widths.
~ ShapeDesigner supports alignment grid, which can be customized using ShowGrid, AlignToGrid and GridSize properties.
~ ShapeDesigner allows specifying anchor points for the shape.
If anyone is interested in trying the beta version, please download this archive containing updated assembly files and a sample project showing how to load stencil shapes:
https://mindfusion.eu/_beta/wpfdiag33.zipAny comments, questions and general feedback are welcome.