Skip to content
Go to file

Build Status Maven Version Javadoc


Doclet for javadoc to automatically add UML diagrams to Java documentation.

Codacy Badge Codebeat badge Coverage Status

Generate UML diagrams

The UML Doclet uses available javadoc metadata to automatically generate the following UML diagrams and embeds them in your HTML documentation. The diagrams are embedded as clickable SVG objects by default and link to package and class documentation where available.

Package dependency diagram

The UML Doclet will warn about (and optionally fail on) cyclic package dependencies.

The dependency diagram links to package documentation containing:

Package diagram

The package diagram links to class documentation containing:

Class diagram

(These examples are from the latest UML Doclet javadoc page. Please feel free to take a look to get an idea of the final result)


To use the UML Doclet, the following is required.


Released versions can be found in the maven central repository or on github.


  • Please see the separate usage page on how to use the UML Doclet in your own Java projects.


  • We welcome new issues 👍. Please search the current issues however, otherwise you might file a duplicate.
  • Please provide an example when sending in bugs if at all possible. This will make fixing them that much easier!



  • First of all a big thanks to Arnaud Roques, the developer of the excellent PlantUML project without whom this project wouldn't exist! 👏
  • And of course thank you for using UML Doclet. I hope it may be of benefit to your project!


You can’t perform that action at this time.