Add --graph.

Fixes #2.