Fog Creek Software
Discussion Board




include graph generator?

I am looking for something to take a C/C++ source tree and generate an include graph, I guess in some text format.  It would be nice if it processed #ifdefs.

Then I would like to take the text format and visualize it somehow, i.e. be able to pan and zoom and inspect the graph, with the filenames.

Anyone have any suggestions?

Andy
Sunday, July 13, 2003

GraphViz can be made to do that with a little bit of coding: http://www.research.att.com/sw/tools/graphviz/examples/undirected/softmaint.html

Matthew Lock
Sunday, July 13, 2003

Source Navigator can do some of this - it doesn't have great graph viewing, but it's free, and worth a quick checkout to see if it does what you need.

http://sourcenav.sourceforge.net/

Michael Kohne
Monday, July 14, 2003

Try this:

http://www.codeproject.com/useritems/includefinder.asp?target=include%7Cfinder

Bill
Monday, July 14, 2003

*  Recent Topics

*  Fog Creek Home