How can I automatically created curved edges in my diagrams?


https://www.nevron.com/Forum/Topic12170.aspx
Print Topic | Close Window

By Adam Leffert - 7 Years Ago
I'm using a licensed copy of Nevron Diagram for WinForms version 17.3.22.12.

I'm allocating NWinFormControlHostShapes and populating them with custom user controls.

I connect them by allocating NRoutableConnectors with ConnectorType = RoutableConnectorType.DynamicCurve.

I allocate a NLayeredGraphLayout, then do

var theLayer = theDoc.ActiveLayer;
NNodeList shapes = theLayer.Children(NFilters.Shape2D);
theLayout.Layout(shapes, new NDrawingLayoutContext(theDoc));

The diagram looks good, but is there a way to specify curved edges rather than edges that bend at sharp angles?

Thanks very much in advance,

Adam Leffert
http://www.leffert.com