I am generating a (GraphViz) "dot" file for a given set of nodes, and edges. The nodes are ordered in y-dimension with rank=same, in x-dimension within the rank. The edges are sorted in the order they should be drawn. Unfortunately "dot" does not respect the order in the x-dimension. If it would, I would achieve a crossing-free layout for plane digraphs. No matter if they are cyclic, or acyclic.
My questions:
- How can I tell "dot" to respect the relative order of nodes and edges
- Is there an alternative to "dot", which respects the relative order, i.e. accepts the layout, and does the physical rendering.
Sorry, was not able to upload the dot file.Sample.dot file