Improve graph layout and documentation.

The graph layout may be controlled with --graph-dim