The graphviz.render vocabulary provides words for converting graph objects into equivalent Graphviz output. This is done by using the graphviz.dot vocabulary to convert the Factor objects into equivalent DOT code, then invoking Graphviz upon the result.
The most general words in this vocabulary will have you manually specify the desired layout engine and/or output format, along with a file to which Graphviz should save its output: