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


Rock and Roll

Posts: 741
Joined: Apr 6th, 2003
Diagramming for WPF, V4.3
Today at 5:54am
Print Post  
We have released version 4.3 of WPF Diagramming library. It contains the following new features and improvements:

ItemListView control
ItemListView supersedes NodeListView and lets you show both nodes and links in the list. Items can be added or removed using the Items property of base ListView. DefaultNodeSize property from NodeListView is called NewInstanceSize in the new class. The AutoConnectLinks and AutoConnectDistance properties control whether links created via drag-and-drop should connect to nearby nodes in the target diagram. For compatibility with legacy code, NodeListView won't be removed from the library, but it won't be getting any new improvements.

Palette control
The Palette control represents a tool palette that displays DiagramItem objects grouped into categories. It implements Accordion user interface that displays ItemListView components as its child panels, and category icon, title and collapse/expand button in pane headers. Each child ItemListView displays the items added to its corresponding category. Call the AddCategory method to define a category and create its respective accordion pane. Call AddItem to add an item to specified category. The control can also be populated by setting ItemsSource to a list of PaletteCategory objects. Palette provides same behavior and appearance properties as the ItemListView class.

Miscellaneous
  • DiagramView raises ItemRealized and ItemVirtualized events when it creates or removes a presenter for a DiagramItem.
  • CreateImage no longer relies on a hidden window for image export.
  • Embed font files in exported PDF documents by setting PdfExporter.EmbedFont predicate.
  • Fixed rendering offset when a link's HandlesStyle is set to Custom.

API changes
  • Completing our transition to model-view design, VirtualizingDiagram cannot be used as a standalone control anymore and must be assigned to the Diagram property of DiagramView. Since most of virtualization is done by the view, the class has been renamed to DataBoundDiagram. As a last step of model-view migration, we plan to change Diagram base from Control to DependencyObject in next minor release (v4.3.1) and remove properties marked as obsolete.
  • DraggedNode has been renamed to DraggedItem.

Installer for the latest version can be downloaded here, or from the clients area on our site:
https://mindfusion.dev/WpfDiagTrial.zip

Updated assemblies are also available as MindFusion.Diagramming.Wpf NuGet package.

Enjoy!
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint