Renders to DOT, returning it as a string.
Renders to DOT, writing it to a given output file.
Renders to PDF using the dot shell command.