Open samiit opened 5 years ago
What is an orthogonal layout?
To answer your question: no, the only layout algorithm that I have implemented for the time being is Fruchtermann-Reingold. I do have plans to add more layout algorithms, so I am open to suggestions.
Is this what you are referring to?
I cannot find a standalone python implementation and I would rather not make graphviz a dependency of the project. If you have an implementation handy, I am open to working on integrating it into the module. Otherwise, it will go onto list of planned features but won't be implemented any time soon.
Thanks for considering the request. I found an alternative in grandalf, specifically, its SugiyamaLayout, which did pretty much what I wanted.
The SugiyamaLayout
is more akin to neato
layout in graphviz, though, not the layout proposed in the HOLA paper -- isn't it?
Not sure about the neato
layout, but surely it is far from the HOLA paper.
I did get some headway when I found the SnapPy project and found this code there. But I couldn't put it to good use, but am sure someone else can figure out what to do. Some classes that interested me (and may be you, if you would like to implement it in netgraph) would be OrthogonalRep
, OrthogonalLinkDiagram
, etc.
Thanks for the link, that is useful.
Is there any way to render the network graph with orthogonal layout?