Use an environment variable USE_GRAPHVIZ_DOT instead of a config value.

Make the dot renderer a helper method.