|Graph drawing CFGs email@example.com (Sean McDirmid) (2000-04-11)|
|Re: Graph drawing CFGs firstname.lastname@example.org (2000-04-14)|
|Re: Graph drawing CFGs email@example.com (Tim Harris) (2000-04-14)|
|Re: Graph drawing CFGs Martin.Ward@durham.ac.uk (2000-04-14)|
|From:||Tim Harris <firstname.lastname@example.org>|
|Date:||14 Apr 2000 01:01:17 -0400|
|Organization:||University of Cambridge Computer Laboratory|
In article 00-04-077,
Sean McDirmid <email@example.com> wrote:
>I'm looking for the best flexible graph drawing library out their for
>drawing control flow graphs to help debug and visualize the optimizations
>done in my compiler. I would prefer that the graph software is written and
>customized in Java and somewhat redistributable.
I have used VCG for a number of compiler projects. It is described at
Graphs are defined in a straightforward text-based input format. The
tool can be used interactively or can output generated graphs as ".eps"
files (if you use this in earnest then see the patch on
http://www.cl.cam.ac.uk/~tlh20 which generally improves the size and
rendering time of the PostScript).
My experience has been that it is good at laying out control flow graphs
but not very good with more general structures. However, the input file
can provide various hints to the layout algorithm.
It is not a Java tool.
Return to the
Search the comp.compilers archives again.