Control Flow Graph Factory is an Eclipse plugin
which generates control flow graphs from java bytecode, edit them and export to GraphXML, DOT or several image formats.
See our control flow graph gallery for some more examples.
Graphviz (short for Graph Visualization Software)
is a program for drawing graphs specified in DOT language scripts.
Control Flow Graph Factory exports graphs with or without visual information (node color and shape) and geometry information (node size).
For more details see DOT Export Examples.
The exported graphs can be modified via simple DOT Editor directly in
the eclipse workspace.
GraphXML is an XML-based graph description language. It covers not only the pure, mathematical description of a graph, but also its visual aspects. Read more about GraphXML.
With Control Flow Graph Factory the graphs can be exported with or without visual information (node color and shape) and geometry information (node size and position). For more details see GraphXML Export Examples.
The behavior of the Control Flow Graph Factory can be adapted by different settings.
Just go to
Window > Preferences > Dr. Garbage > Control Flow Graph Factory
and adjust the preferences to suit your needs:
Enable/ disable the generation of virtual objects:
Enable/ disable the generation of long descriptions instead of line numbers for basic block graphs and sourcecode graphs: