src/main/java/de/dfki/lt/loot/digraph/io/GraphPrinterFactory.java
public static <EI> void printGraph(Graph<EI> g, String name,
      GraphElementPrinter<EI> printer) {
    try {
      Path filePath = new File("/tmp/" + name).toPath();
      print(g, filePath, printer);
      dot2png(filePath);
    } catch (IOException e) {
      e.printStackTrace();
    }
  }
/** Convert the graph into graphviz format and create a PNG graphic file
   *  out of that representation using the dot program.
   */
Convert the graph into graphviz format and create a PNG graphic file
out of that representation using the dot program.
Convert the graph into graphviz format and create a PNG graphic file out of that representation using the dot program .
public static <EI> void printGraph(Graph<EI> g, String name,
      GraphElementPrinter<EI> printer) {
    try {
      Path filePath = new File("/tmp/" + name).toPath();
      print(g, filePath, printer);
      dot2png(filePath);
    } catch (IOException e) {
      e.printStackTrace();
    }
  }
public static < EI > void printGraph ( Graph < EI > g , String name , GraphElementPrinter < EI > printer ) { try { Path filePath = new File ( "/tmp/" + name ) . toPath ( ) ; print ( g , filePath , printer ) ; dot2png ( filePath ) ; } catch ( IOException e ) { e . printStackTrace ( ) ; } }
Convert the graph into graphviz format and create a PNG graphic file
  out of that representation using the dot program.
Convert the graph into graphviz format and create a PNG graphic file out of that representation using the dot program .