After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 641904 - call graph (with dot) in calling order
call graph (with dot) in calling order
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: build
unspecified
Other All
: Normal enhancement
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2011-02-09 07:06 UTC by raimund.stein
Modified: 2011-09-15 10:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
demo file for dot, with graphic (29.52 KB, application/zip)
2011-02-09 07:06 UTC, raimund.stein
Details

Description raimund.stein 2011-02-09 07:06:52 UTC
Created attachment 180443 [details]
demo file for dot, with graphic

Hello doxygen,

an useful enhancement for me would be:
Arrangement of the call graph (with dot) in the (real) calling order in the calling function.

I tested with dot, with some little files, to see what is going to be produced.
I found, that the order in (my little) call graphs is the order the calls are arranged in the “source” (.dot) file.
 
In your dot-files, the nodes appear in an alphabetical order. If they were arranged in the calling order, dot should produce the call graph in the real sequence.
Attached you can find my little example: a dot file, and a graphic, generated with dot.
Dot.exe -Tpng aufruf3.dot -o aufruf3.png.
 
It is even possible, to have the same function called twice. Just have an extra Node with the same label. This could reflect very good the “real” usage of function-calls in (my) embedded software projects. There it is essential, in which order the functions are called, and also if they were called twice from the same calling function.
 
i´m actually using doxygen 1.7.1
Comment 1 Dimitri van Heesch 2011-06-01 20:42:58 UTC
I'll add the functions in order of first appearance to the dot graph.
Comment 2 Dimitri van Heesch 2011-08-14 14:05:21 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.5. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant.
Comment 3 Goffredo Marocchi 2011-09-15 10:51:05 UTC
https://bugzilla.gnome.org/show_bug.cgi?id=657418

I think I am having this same problem or a very similar one. What do you think?