Hello, I have a graph with the following properties,
- directed
- acyclic
- multiple sources
- multiple sinks
- disconnected
- 800+ nodes
- 2,700+ edges
I know for a fact that the graph does not have an upward planar drawing (or any planar drawing at all).
I’ve been trying to render the graph while making it as “human-friendly” as possible.
However, I haven’t had much luck.
My only hard requirement is that the drawing is “hierarchical” (sources top, sinks bottom).
Here is a link to the graph I am working with (a DOT file),
dag - Pastebin.com (2.7k edges)
strict digraph { 86 -> 10 27 -> 12 12 -> 13 13 -> 14 86 -> 15 - Pastebin.com (1.5k edges)
I tried a bunch of different self-made techniques, and some libraries I found online. I’ve also tried Graphviz and can’t seem to get output I’m happy with.
The Graphviz command I’m using is, dot -Kdot input_file
When outputting a png file, I get an image that is 32767x4213 in dimension!
The graph is also messy:
Imgur: The magic of the Internet (2.7k edges)
Imgur: The magic of the Internet (1.5k edges)
Does anyone here have any advice for me? Or is it just plain impossible?