How can I influence Graphviz/dot to make nicer control-flow graphs by removing snaking and better edge crossings?
问题 I am drawing control-flow graphs for Python programs and would like to influence which kind of edges should not be crossed over. Is there a way to do this? Consider this simple Python program: try: a += 1 except: a += 2 else: a = 3 And a dot program to represent the control flow for that generated via https://github.com/rocky/python-control-flow/ digraph G { mclimit=1.5; rankdir=TD; ordering=out; graph[fontsize=10 fontname="Verdana"]; color="#efefef"; node[shape=box style=filled fontsize=8