Is there any way to calculate how long a dot graph will likely take to render?
I am currently running with 25,000 nodes and 42,000 edges. It's taking some hours and I'd like to know if to give up or get an estimated time when it completes.
Short answer: nope.
Longer answer: There are things you can do to better understand what dot is doing and make it run faster.
-v4
(https://www.graphviz.org/doc/info/command.html#-v) to the command line will (help) show progress (not well documented) (4 is arbitrary)Here are some links to more performance info:
splines=ortho
(https://forum.graphviz.org/t/creating-a-dot-graph-with-thousands-of-nodes/1092)25,000 nodes is a fair number of nodes, but 42,000 edges is not that many edges/node
With that many nodes, you might also try some of the other Graphviz engines (neato, fdp, circo, twopi) Often, one or more will run much faster.