Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Version 3.6 beta (Read 1056 times)
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3152
Joined: Oct 19th, 2005
Version 3.6 beta
Jul 1st, 2020 at 10:08am
Print Post  
Version 3.6 of WPF Diagram control contains the following new features and improvements -

Animated layout
ArrangeAnimated methods added to Diagram and ContainerNode classes animate the movement of items from their original locations to new locations assigned by the layout object. This can be used to create an explode effect by starting new layout from overlapping nodes on same position, or an insertion effect by adding a new node to an existing layout.

JSON Serialization
Diagrams can now be serialized in JSON format. This can be used for interoperability with MindFusion JavaScript diagramming library, or for general storage in JSON files or databases. To serialize a Diagram to a JSON string, call its SaveToJson method. To deserialize a diagram back from its JSON representation, call the LoadFromJson method. Custom item classes can implement JSON serialization for their additional properties by overriding the SaveToJson and LoadFromJson methods of DiagramItem. Such classes must be registered for serialization by calling the RegisterItemClass method and providing a string identifier for the clientClass parameter.

Localization improvements
  • Right-to-left text support in PdfExporter.
  • Support for right-to-left text in styled text. This is still experimental and behind static Diagram.RightToLeftStyledText flag.
  • Fix for PdfExporter creating incorrect PDF files on Chinese versions of Windows.

Miscellaneous
  • Arrange method of ContainerNode arranges the child items inside a container using the specified layout class.
  • ContainerNode.AutoGrow property.
  • New CreateDiagramLink overload of the Factory class makes it easier to create links between TreeViewNode items.
  • NodeCreateCancelled, NodeModifyCancelled, LinkCreateCancelled, LinkModifyCancelled events.
  • SelectionModifyCancelled event.
  • For consistency with MindFusion APIs for other platforms, the Diagram class now provides Arrange and ArrangeAsync (CLR 4.5+) methods that take a layout object as argument.
  • Fixed exception in GridRouter.


If anyone is interested in trying the beta version, please download this archive containing updated assembly files -
https://mindfusion.eu/_beta/wpfdiag36.zip

Any comments, questions and general feedback are welcome.
« Last Edit: Jul 2nd, 2020 at 6:27am by Slavcho »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint