So I need an automatic grid layout algorithm with "orthogonal" edges of some Java objects. Something like this. I'd be given some matrix from which I will create a graph instance (in Eclipse) and my output is layout of that graph (it would be very nice if the output would be some kind of xml file containing coordinates of vertices and edge, but it's not necessary). (Requirements are like that because our object is some kind of UML class diagram that will be in that matrix and we want layout similar to classic UML diagrams).
I found class SimpleGridLayout in some earlier package of JGraph, but its usage is strongly discouraged and I cannot find API. I looked through Zest, Jung, JGraphx, Prefuse and none contains wanted layout: Zest doesn't have orthogonal edges, Jung doesn't have grid layout, Prefuse doesn't have grid (graph) layout, JGraphx is somewhat complicated and I cannot really find my way around it.
It seems like these packages are really rich and certainly it can be made manually in them, but due to the nature of project, some automated algorithm is wanted.
All suggestions are welcomed.