Add padding between nodes from command line when using Terraform and Graphviz


I’m generating *.dot files representing my infrastructure using Terraform graph command. I’m then using Graphviz to convert the dot graph to a png image. Only thing is the node graph isn’t very readable and I’d like to uniformly spread out the nodes.

I’ve tried playing with overriding node attributes with the -G and -N graphviz options but doesn’t do anything.

How can I uniformly spread out nodes when rendering dot data with Graphviz from the command line?