$ dot -Tpdf input.dot
產生 PDF 輸出。(此選項假設 Graphviz 包含 Cairo 渲染器。)或者,可以使用 ps2 選項產生與 PDF 相容的 PostScript,然後使用 ps 到 pdf 轉換器。