I have been working on a large c++ project, and I want to generate a diagram showing the inheritance as well as composition relationship between classes, I have been googling for a long time seeking for a solution. As now, I found a lot of tools (like understand, or vs) that can be used to generate UML diagram showing the inheritance relation but not for the composition. I really need to see the references between each class for understanding the design pattern inside it, is there any suggestions?
Doxygen can generate UML diagrams on a per-class basis including inheritance and composition using the DOT tool. It's only a static tool though.
# Modify these settings in your doxygen config file.
UML_LOOK = YES
HAVE_DOT = YES
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