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


Rock and Roll

Posts: 685
Joined: Apr 6th, 2003
Diagramming for WPF, V3.0.5
Jun 4th, 2014 at 2:16pm
Print Post  
WpfDiagram v3.0.5 contains the following new features and improvements:

Export Visio 2013 files
The Visio2013Exporter class can export the content of Diagram and DiagramDocument objects to Visio 2013 VSDX files. In order to use it, add a reference to the MindFusion.Diagramming.Wpf.VisioExport.dll assembly. Similarly to the VDX format exporter, Visio2013Exporter relies on a template file, called Visio2013.vxt, containing some boilerplate Visio XML code. The template must be either located in same folder as the application assemblies, or its path must be specified via the TemplatePath property. At this time the exporter supports shapes from Visio basic stencil. Support for more shapes will be added upon request.

Visio2013Importer improvements
~ The importer now supports Visio group shapes. Child shapes in groups are no longer lost when importing, and their corresponding diagram nodes are attached to the corresponding group node.
~ Visio NURBS curves are now imported as Bezier-style links.
~ Fix for importing connectors with applied rotation transform.
~ Shapes with a hidden attribute in master definition are now imported as invisible items.
~ The Item argument of ImportItem event handlers is now pre-set to a DiagramItem instance created for the imported Visio shape, letting you avoid parsing some standard data such as Bounds or Text. You can either modify this item's properties, or replace it with a new instance of a different type.
~ Fixed a crash when a shape master does not have a name attribute (this happens with custom stencils)
~ Fixed a crash when theme1.xml is missing from the imported vsdx archive (this happens with files converted from old Visio versions to 2013 format)
~ Fixed a parse exception for some non-English locales.
~ Fixed a bug where one-segment connectors were imported at wrong positions.

Miscellaneous
~ the SetSelfLoopShape event is raised when a link becomes a self-loop, giving you a chance to set a custom shape for the link.
~ LinkLabels are now copied by DiagramLink copy constructor and clipboard methods.
~ Fixed LinkLabel positioning along Bezier links.
~ NodeStyleSelector property of VirtualizingDiagram lets you dynamically apply styles based on node's data.
~ Changing Diagram's ZoomFactor now updates zoom control slider automatically.
~ Fix for wrong scale when printing diagrams with MeasureUnit different from WpfPoint.

API changes
~ The SelectionMoved event has been renamed to SelectionModified, and is also raised if nodes are resized when AllowMultipleResize is enabled. Event handlers now receive SelectionEventArgs parameter instead of EventArgs.
~ The SelectionMoving event has been renamed to SelectionModifying, and is also raised if nodes are resized when AllowMultipleResize is enabled. Event handlers now receive SelectionValidationEventArgs parameter instead of ValidationEventArgs.

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!
« Last Edit: Jun 3rd, 2022 at 7:27am by Forum Admin »  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint