Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Simple orthogonal graph edge routing algorithm

Many graphing applications use orthogonal edge routing for "objects" on a canvas.

I am aware of the brilliant collection of algorithms found in the open source project titled QuickGraph (http://quickgraph.codeplex.com/) but the layout is left to actual layout renderers (such as GraphViz (http://www.graphviz.org) and MSAGL (found on Microsoft store))

Is there a simple algorithm that takes into account the bounds of each object and the anchor points of the end and start points of an edge?

like image 916
Mike J Avatar asked Sep 06 '25 15:09

Mike J


1 Answers

I'm not sure about the algorithm, but I know orthogonal routing (node link rendering, right?) is also called "Manhattan" layout, you may find something more about it under that name.

like image 118
Kenan E. K. Avatar answered Sep 09 '25 08:09

Kenan E. K.