Profile Picture

How can I automatically created curved edges in my diagrams?

Posted By Adam Leffert 7 Years Ago

How can I automatically created curved edges in my diagrams?

Author
Message
Adam Leffert
Question Posted 7 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)

Group: Forum Members
Last Active: 7 Years Ago
Posts: 4, Visits: 6
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




Similar Topics


Reading This Topic