Call Graph Generator
Brecht Vermeulen
Brecht.Vermeulen@rug.ac.be
Sat Nov 4 17:26:00 GMT 2000
Hi,
some other quick hacking (it was my first time in tcl ;-) ) on the Call
Graph Generator which makes it still more interesting to me, so maybe
also to others :
* the edges are drawn in different colors
* calls within the same class are drawn dashed
* constructors are trapeziums
* as third command line argument a file can be optionally given, which
must contain one line with all files (with full path as in the sn project)
separated with a space out of which the functions have to be drawn. This
was handy because otherwise if you have e.g. a server and client with each
a main function, it was drawn as one main function.
Still a problem : if a function of one class calls a function with the
same name on a pointer which refers to another class, then it is drawn as
a loopback, but this seems a problem with the parser of SN, I think.
It would be nice if the instance variables were also drawn for each class
(.iv database) and if optionally also references to these could be drawn.
best regards,
and some cool tools ;-)
Brecht
On Fri, 3 Nov 2000, Eray Ozkural wrote:
> On Fri, Nov 03, 2000 at 08:22:44AM +1100, Ben Elliston wrote:
> > I'm really interested to see some screen shots -- can you post a URL or two?
>
> Yeah, why not? Here's the huge (I mean large...) ps file. gzipped.
>
> and the dot input files, (vanilla and edited)
>
> http://pccluster.cs.bilkent.edu.tr/~exa/
>
> I could show it on tk window if tcldot worked with the old tcl/tk version
> that sourcenav uses. :( When you guys finish porting that to tcl8.3
> we can make this into another navigator window!!!
>
> Happy hacking,
>
> --
> Eray (exa) Ozkural
> Comp. Sci. Dept., Bilkent University, Ankara
> e-mail: erayo@cs.bilkent.edu.tr
> www: http://www.cs.bilkent.edu.tr/~erayo
>
---------------------------------
Brecht Vermeulen
Department of Information Technology (INTEC)
Ghent University - IMEC
Sint-Pietersnieuwstraat 41
B-9000 Gent
Belgium
Phone : +32 9 267 35 86
Fax : +32 9 267 35 99
Email : brecht.vermeulen@intec2.rug.ac.be
-------------- next part --------------
A non-text attachment was scrubbed...
Name: call-graph2.tk.gz
Type: application/x-gzip
Size: 2288 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/sourcenav/attachments/20001104/566c550c/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: example_NS.dot.gz
Type: application/x-gzip
Size: 1500 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/sourcenav/attachments/20001104/566c550c/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: example_NS.ps.gz
Type: application/x-gzip
Size: 6847 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/sourcenav/attachments/20001104/566c550c/attachment-0002.bin>
More information about the Sourcenav
mailing list