This function accepts a list of lists or sequences in the form produced by getGraph and outputs a file suitable for input to graphviz, freely available from graphviz.org. Execute (in a shell) "dot -Tpdf graphname.dot -o graphname.pdf" to produce the pdf file.