[Tex/LaTex] Typesetting UML class diagrams


What's the best way to draw UML class diagrams in LaTeX?

Best Answer

  • 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