This plug-in provides your basic UML class diagrams in .dot format
via the dotuml goals as described
here. Also, it converts .pic sequence diagram files into an image format.
The properties that allow you to customize the execution of this plugin are documented here.
The following list contains additional JavaDoc tags which are used by the UmlGraph doclet to generate the UML diagrams:
The relationship tags take for arguments:
/**
* @composed 1 - 1 BClass
* @composed 1 - 0..* Class
*/
class AClass {}
For a detailed description of sequence diagrams using pic macros please have a look at the online documentation.
Currently, the best way to add the sequence diagrams into the project web-page is to
create a new xdoc file which links to the ones in
${maven.dotuml.pic2plot.dest.dir}. Then link this new file into navigation.xml.
Note: the sequence.pic file from the UmlGraph distribution has to be
somewhere in your project path. The header of the .pic files require a relative/absolute
path to the sequence.pic file.
In order to include the generation of sequence diagrams in your project web-page add the following preGoal directive into the project's maven.xml file:
<preGoal name="site">
<attainGoal name="dotuml:sequence" />
</preGoal>
| Tool | Download |
|---|---|
| GraphViz | www.graphviz.org |
| PlotUtils | www.gnu.org/software/plotutils/plotutils.html |