I have a C project that I document with doxygen. I also use graphviz to generate collaboration diagrams for my structures. The problem is that for structures, which their members are simple types (int, float, etc) or their members are defined outside the project (and included via an include file) no collaboration diagram is generated.
How can I force doxygen to generate a diagram for those structures?
For example, say I have the following structure:
/** This is my simple struct. */
typedef struct
{
/** A member */
int a_member;
/** Another member */
int another_member;
} my_simple_struct_t;
If you have a struct like this, Doxygen will not generate a collaboration diagram (it will provide a documentation entry for the struct though). How can I force it to create one and show that it is a structure of two integers?
With the following settings doxygen will produce a collaboration diagram for the above structure:
HAVE_DOT = YES
COLLABORATION_GRAPH = YES
HIDE_UNDOC_RELATIONS = NO
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With