Increase resolution of graph_draw

Hi,

Is there a way of increasing the resolution of the graph_draw output? I am
looking for something like a DPI setting as exists in e.g. matplotlib. I am
trying to generate plots in publication quality but currently find myself
having to scale the size of the plot up to then compress the final image
back down to my required dimensions to increase the resolution which seems
cumbersome. Does such an option exist? Or is there a better way of achieving
this?

Best,

Philipp

The output_size parameter to graph_draw() does what you want. You might also
consider using vector formats such as PDF or SVG.