Chrisvdberge
Chrisvdberge

Reputation: 91

Size of a Graphviz Graph

I'm creating a circular graph that contains a thousand edges. It works fine if I only put a few in there, e.g., I can vary the edge length. However, when I put all the data in, I can't seem to control the size anymore. The picture just blows up ridiculously large with just tiny nodes and huge (HUGE) distance to the other nodes.

I'm trying to influence the length and size using weight, size, len, etc. but nothing seems to work. Anyone any ideas how to control the size of the graph?

Upvotes: 9

Views: 15066

Answers (1)

greg
greg

Reputation: 864

Use size="width,heigth!" (the exclamation mark is important here)

width and height are "Maximum width and height of drawing, in inches."

Upvotes: 10

Related Questions