We are starting beta tests of WpfDiagram 2.5.1. The new features are:
Export diagrams to MS VisioVisioExporter exports diagrams to Visio 2003 XML Drawing files (*.vdx). ShapeNode objects are mapped to their closest Visio counterparts and TableNode objects are exported as groups of Visio shapes. DiagramLink instances are exported as Visio connectors of a similar style. In addition, most of the attributes of diagram items such as text, text formatting, fill and line colors and styles are preserved. The exporter object requires the VisioExport.vxt file to be present in the application's directory. This file contains an XML template used by the component to generate Visio documents.
Link auto-snappingNow links can automatically connect to the nearest diagram node without the mouse pointer reaching the node. This is enabled by setting the AutoSnapLinks property. The maximum distance at which auto-snap works can be specified through AutoSnapDistance. The SnapToNodeBorder property, which implemented similar functionality when the mouse is directly over a node, has been removed.
Miscellaneous ~ Handle CopyHostedControl to clone hosted custom controls that cannot be processed automatically when copying nodes to the clipboard.
~ InchDivisions specifies how many minor divisions to display for each inch in the ruler.
~ The CopyFrom method of TextPresenter copies all text attributes from the specified object.
If anyone is interested in trying the beta, please download this archive, which includes updated assemblies and help file:
https://mindfusion.eu/_beta/WpfDiagram251.zip