How to do user layout with orthogonal routing?


Author
Message
Ted O'Grady
Ted O'Grady
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
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 (200 views, 30.00 KB)
CurrentResult.png (194 views, 26.00 KB)
Reply
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K

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


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search