public String toFile ( ) throws Exception { File file = File . createTempFile ( "GuiceDependencies_" , ".dot" ) ; toFile ( file ) ; return file . getCanonicalPath ( ) ; }
Writes the Dot graph to a new temp file .