Create one big UML diagram from source using doxygen

I am using Doxygen with Dot to create a UML diagram of a Java project. When I run Doxygen, it creates many .png uml files of the specified classes, but not one "big" UML diagram showing all the classes + member functions, etc.

Can this be generated? And if so, how?

+3


source to share


1 answer


To have one big diagram for all classes, you need to use Doxyfile enable GRAPHICAL_HIERARCHY

and HAVE_DOTS

.

# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is 
# available from the path. This tool is part of Graphviz, a graph visualization 
# toolkit from AT&T and Lucent Bell Labs. The other options in this section 
# have no effect if this option is set to NO (the default)

HAVE_DOT               = YES

# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen 
# will generate a graphical hierarchy of all classes instead of a textual one.

GRAPHICAL_HIERARCHY    = YES

      



besides there is also

# If the UML_LOOK tag is set to YES doxygen will generate inheritance and 
# collaboration diagrams in a style similar to the OMG Unified Modeling 
# Language.

UML_LOOK               = YES

      

+3


source







All Articles