Re: Graph drawing CFGs

plakal@cs.wisc.edu
14 Apr 2000 01:00:36 -0400

          From comp.compilers

Related articles
Graph drawing CFGs mcdirmid@cs.utah.edu (Sean McDirmid) (2000-04-11)
Re: Graph drawing CFGs plakal@cs.wisc.edu (2000-04-14)
Re: Graph drawing CFGs tlh20@cam.ac.uk (Tim Harris) (2000-04-14)
Re: Graph drawing CFGs Martin.Ward@durham.ac.uk (2000-04-14)
| List of all articles for this month |

From: plakal@cs.wisc.edu
Newsgroups: comp.compilers
Date: 14 Apr 2000 01:00:36 -0400
Organization: University of WI, Madison -- Computer Sciences Dept.
References: 00-04-077
Keywords: tools

Sean McDirmid <mcdirmid@cs.utah.edu> 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 already tried Grappa


There are a couple of graph visualization tools out there
but I'm not sure if they currently support Java interfaces.


graphviz/dotty from AT&T:
http://www.research.att.com/sw/tools/graphviz/


VCG (Visualization of Compiler Graphs):
http://www.cs.uni-sb.de/RW/users/sander/html/gsvcg1.html




I've used dotty more than VCG (and it was for visualizing
CFGs of methods in a Java compiler) and I found it adequate
for my purposes, though it sometimes tends to lay out things contrary
to the sequential order of basic blocks in the CFG. It does
take layout hints from the user but I was too lazy to use
them ...


Manoj


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.