Reputation: 393
I'm trying to generate UML diagram for 2 very simple classes. The diagram should display composition(class B is composed of class A). However, Composition is not displayed in html documentation generated by doxygen.
I believe there is some option in Doxyfile that should be enabled, but so far I have not found which one it is. Note that class inheritance is displayed properly. But I assume that doxygen should know how to draw composition and aggregation as well.
//a.h
class A{ char a; };
//b.h
#include "a.h"
class B{ A a; };
I expect to see a filled diamond from B to A in class diagram generated by Doxygen, but it not there. Here are some of the extract options set in Doxyfile
EXTRACT_ALL = YES
EXTRACT_PRIVATE = YES
Doxygen version is 1.8.16
Upvotes: 2
Views: 591