Added ability to pass GraphvizCommand.