Profile Picture

How to do user layout with orthogonal routing?

Posted By Ted O'Grady 12 Years Ago
Author
Message
Ted O'Grady
questionmark Posted 12 Years Ago
View Quick Profile
Junior Member

Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)

Group: Forum Members
Last Active: 11 Years Ago
Posts: 12, Visits: 1
How would you create a diagram that is laid out by the user, but the connections are routed by Nevron?

We are attempting to create a layout in which shapes are positioned by the user and then have an orthogonal type routing of connectors between shapes. What are the best ways of accomplishing this?

The first attachment shows the type of layout we'd like to achieve (Laid out through NLayeredGraphLayout). The second attachment shows what we are currently able to achieve with the use of the Routing Manager (Manually laid out).

We would like the lines to route orthogonally as is achieved by passing the diagram through the NLayeredGraphLayout without the layout engine moving the shapes.

Attachments
DesiredResult.png (185 views, 30.00 KB)
CurrentResult.png (178 views, 26.00 KB)
Nevron Support
Posted 12 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009

Hi,

You can set the routable connectors to always reroute, but even then you won't get the same nicely layouted diagram, because the layered graph layout algorithm does much more than simply rerouting the edges - it also places them on several busses in order to eliminate edge overlappings, it offsets the start and end plugs in order to eliminate the case in which several edges start and/or end in the same point and much more.



Best Regards,
Nevron Support Team



Ted O'Grady
Posted 12 Years Ago
View Quick Profile
Junior Member

Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)

Group: Forum Members
Last Active: 11 Years Ago
Posts: 12, Visits: 1
We have tried the always reroute method and as mentioned it does not provide the results we are looking for.

Is their anyway that we can replicate the layered graph layout routing algorithm within the regular routing manager or through another method?


Nevron Support
Posted 12 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009

No, there isn't any way to replicate the Layered Graph Layout other than simply using it. It's output may seem simple to the human eye, but for a computer it's extremely complex, actually the Layered Graph Layout is one of the most complex graph layout algorithms. Its complexity, however, is well worth the trouble, because it is not only fast for even large graphs, but it also layouts nicely a large variety of diagrams.



Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic