We have released version 5.0.2 of FlowChart.NET. It contains the following new features:
*** Layout algorithm improvements ***
In older versions the layout algorithms placed unconnected subgraphs either in a row or in a column. Now it is possible to place the unconnected subgraphs in such a way that the diagram covers a minimal area. To enable that, set MultipleGraphsPlacement to MinimalArea.
Now OrthogonalLayout supports nodes of different sizes and can handle a much larger number of links. It no longer requires the nodes to be aligned, so the BaseLayout members related to node alignment have been removed.
The FlowLayout class exposes new type-safe properties and methods to define layout behavior that previously could be set only through the AddLayoutRule method.
*** Font scaling ***
It is no longer necessary to use GraphicsUnit.World to make the fonts scale when zooming the diagram view or displaying the diagram inside an Overview control. Now the fonts are scaled correctly regardless of their Unit.
*** In-place editing enhancements ***
Now the text of ContainerNode and DiagramLink objects can be edited in place too. In addition, the BeginEdit method of DiagramView and the InplaceEditable interface have been changed to allow choosing the edit box location according to the current mouse position. At this time, this is used in the DiagramLink in-place editing implementation, but you could use it for your own item types.
*** Improved design time support ***
Now there are type converters provided for the RectangleF and SizeF types, which lets you assign values to properties of these types using the design-type property grid.
Dropping a DiagramView onto a form will automatically add a Diagram instance and associate it with the view.
*** Miscellaneous ***
The DelKeyAction property of DiagramView specifies whether the control should delete all selected items or just the ActiveItem when the user pressed the Del key.
The Route method of DiagramLink now returns a boolean value indicating whether a route has been found successfully.
*** API changes ***
MultipleGraphsOrientation has been renamed to MultipleGraphsPlacement.
The InsertNode method of FlowLayout no longer takes a logicId argument. It now expects the LayoutTraits property of the specified node to has a value assigned to the LogicId key.
Registered customers with an active upgrade subscription will receive their upgrades shortly.
A trial version is available for download here:
https://mindfusion.eu/FCNetDemo.zip
Enjoy!