Install graphviz-dot-mode.
Set graphviz-dot-indent-width to 2.