Nevron Forum

Using the Orthogonal layout

https://www.nevron.com/Forum/Topic2829.aspx

By Gauri Srinivas - Wednesday, December 9, 2009

Hi,

I setup a nDrawingDocument and a nDrawingView, added shapes to it and links between these shapes.I now want to apply the orthogonal layout for this graph and couldnt really get this to work. Can you please let me know how I could initiate this layout and other layouts too.

Thanks,
Gauri
By Nevron Support - Thursday, December 10, 2009

Hello Gauri,

 

You can easily apply the Orthogonal Graph Layout or other layouts to your diagram.

 

Please, take a look at the help documentation: http://helpdotnetvision.nevron.com/

Diagram for .NET > User's Guide > Layouts > Layouts - Getting Started

 

Best regards,

Nevron Support Team
By Gauri Srinivas - Friday, December 18, 2009

Thanks for your reply.

I have setup my diagram replicating the Accounting process(Flow Chart) in the samples online. However, I have edge connectors from different stripes / levels. This creates a lot of edges that overlap on one another. Is there a method that would orthogonally layout the edges (so that the edges are clearer) but keep the nodes in their respective levels.

By Nevron Support - Friday, December 18, 2009

Hello Gauri,

 

You can try to launch the edge rerouting for the NRoutableConnectors like this:

foreach (NRoutableConnector rc in drawing.GetDescendants(new NInstanceOfTypeFilter(typeof(NRoutableConnector))))

{

rc.Reroute();
}

 

 

Best regards,

Nevron Support Team