Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Version 3.0.5 beta (Read 933 times)
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Version 3.0.5 beta
May 5th, 2014 at 10:42am
Print Post  
WpfDiagram v3.0.5 contains the following new features:

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.

If anyone is interested in trying the beta version, please download this archive containing updated control assemblies and help file:

https://mindfusion.eu/_beta/wpfdiag305.zip

Any comments, questions and general feedback are welcome.
« Last Edit: Jun 3rd, 2022 at 7:26am by Forum Admin »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint