Group: Forum Members
Last Active: 14 Years Ago
Posts: 7,
Visits: 1
|
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
|
Group: Forum Members
Last Active: Last Week
Posts: 3,054,
Visits: 4,009
|
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
Best Regards, Nevron Support Team
|
Group: Forum Members
Last Active: 14 Years Ago
Posts: 7,
Visits: 1
|
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.
|
Group: Forum Members
Last Active: Last Week
Posts: 3,054,
Visits: 4,009
|
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
Best Regards, Nevron Support Team
|