Change Size (Width and Height) of Graph (GraphViz & dot)
问题 Often, the default layout of graphs drawn by GraphViz in the dot language is a little "tight." With too little visual space, it's hard to put meaningful labels on edges and the graph can look cluttered. How do I affect the vertical and horizontal spacing of GraphViz / dot graphs? 回答1: DEFAULT I will start with a simple graph that is laid out by the dot engine in the default manner: digraph { node [shape=circle, width=0.4]; A->B A->D B->C D->E } CHANGING HEIGHT As you can see, the layout is