Class PegToDotFile


  • public class PegToDotFile
    extends Object
    • Field Detail

      • graphtype

        public static int graphtype
      • isBrief

        public static boolean isBrief
      • onepage

        public static boolean onepage
    • Constructor Detail

      • PegToDotFile

        public PegToDotFile​(PegGraph graph,
                            boolean onepage,
                            String name)
    • Method Detail

      • toDotFile

        public static void toDotFile​(String methodname,
                                     PegGraph graph,
                                     String graphname)
        Generates a dot format file for a DirectedGraph
        Parameters:
        methodname - , the name of generated dot file
        graph - , a directed control flow graph (UnitGraph, BlockGraph ...)
        graphname - , the title of the graph