This is a pre-release build of NetDiagram version 2, including all C# samples ported to the new API:
https://mindfusion.eu/_beta/NetDiagram2.zipThe major changes and new features are:
* model / view architecture *
The functionality of the FlowChart class from NetDiagram 1 has been split into model and view parts. The model is implemented by the Diagram class, and the view by DiagramView.
* API compatible with Flowchart.NET 5 *
NetDiagram and Flowchart.NET now share all assemblies that are not specific to the Windows or Web Forms technologies. All automatic layout, import and export classes from Flowchart.NET can now be used in NetDiagram. This includes support for SVG, DXF and Visio formats. Hopefully this will also let us release updates for both components more frequently.
* API changes *
The FlowChart.NET 5 compatible programming interface is very different from the one provided by NetDiagram 1. We haven't yet documented all changes, but the "Moving to Flowchart.NET 5" topic in the Flowchart.NET developers' guide documents most of them:
http://www.mindfusion.eu/onlinehelp/flowchartnet/index.htmThe API reference pages for the following namespaces in the docs above now apply to NetDiagram as well:
MindFusion.Diagramming;
MindFusion.Diagramming.Layout;
MindFusion.Diagramming.Import;
MindFusion.Diagramming.Export;
We'll post more examples and a complete NetDiagram 2 reference in the next couple of days.