Version 4.3 of Mindfusion's WPF diagram control contains the following new features and improvements:
ItemListView controlItemListView 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 controlThe 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.
- Embed font files in exported PDF documents by setting PdfExporter.EmbedFont predicate.
- Fixed rendering offset when a link's HandlesStyle is set to HandlesStyle.Custom.
API changesCompleting 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.
If anyone is interested in trying the beta version, please install this (preview mode) nuget package -
https://www.nuget.org/packages/MindFusion.Diagramming.Wpf/4.3.0-beta2Any comments, questions and general feedback are welcome.