Typesetting UML class diagrams
- MetaUML is a MetaPost library for typesetting UML diagrams with a human-friendly textual notation. Another useful package is emp. It allows to embed Metapost code and therefore MetaUML inside a LaTeX document
pst-uml
is a PSTricks package providing support for drawing UML diagrams.uml
is another package using PSTricks implementing at least a subset- pgf/TikZ is so feature rich that it can be used for typesetting UML diagrams as well
tikz-uml
is a UML-specialized TikZ package
For UML class diagrams I'd recommend pgf-umlcd
, for sequence diagrams pgf-umlsd
(example by the author). Both packages are based on the PGF package collection, which I find very easy to use for drawing vector graphics within TeX & LaTeX.
A nice package I found a while ago is this: TikZ-UML.
It provides:
- Class diagrams.
- Use cases.
- State-transitions.
- Sequence diagrams.
It works pretty well, at least with the sequence diagrams I used.