CTAN Comprehensive TeX Archive Network

Verzeichnis graphics/pgf/contrib/tikz-umld

README.md

TikZ-UMLD

TikZ-UMLD is a package for drawing UML diagrams with TikZ. It is a fork of Nicolas Kielbasiewicz's TikZ-UML 1.0 and retains its support for class, package, use-case, state, sequence, and component diagrams. UMLD adds object diagrams, proper two-compartment enumerations, UML constraints and operation modifiers, pointed notes, more control over relationship stereotypes, and a collection of rendering and compatibility fixes.

Installation

TikZ-UMLD is on CTAN. Install it with your distribution if it is available there, or put tikz-umld.sty next to your document or in a directory searched by . Then load it with:

\usepackage{tikz-umld}

TikZ-UMLD requires tikz, ifthen, xstring, calc, pgfopts, and etoolbox. The package loads the required TikZ libraries itself.

Small example

\documentclass{standalone}
\usepackage{tikz-umld}

\begin{document}
\begin{tikzpicture}
  \umlabstract{Shape}{}{
    \umlpvirt{area(): real}
  }
  \umlclass[x=5]{Circle}{radius: real}{
    \umloverrd{area(): real}
  }
  \umlinherit{Circle}{Shape}
  \umlnote[x=5,y=-3,px=0,py=-1]{Circle}{Radius must be positive.}
\end{tikzpicture}
\end{document}

UMLD additions

  • Static object diagrams with umlobjdiag, \umlobj, and \umlsimpleobj.
  • Two-compartment enumerations with \umlenum.
  • Constraints and operation modifiers: \umlcon, \umlstatic, \umlpvirt, \umlvirt, \umloverrd, and \umlquery.
  • Pointed notes using the px and py options.
  • Relationship stereotype placement and backing with st:pos, st:anchor, and st:fill.
  • Actor head colour through head, and assembly-connector label placement through labelpos=above|below|left|right.
  • Improved abstract/interface/object typography, arrow tips, sequence-object naming, dashed lifelines, and several sequence-diagram fixes.
  • Composition shortcuts use compos, for example \umlcompos and \umlVHVunicompos.

The English manual documents the complete inherited interface and the UMLD extensions. doc/examples/full.tex is a worked example (a radiation simulation) with use-case, sequence, state-machine and class diagrams.

Building, testing and releasing

The build uses l3build. From the repository root:

l3build doc      # typeset the manual and the examples into doc/
l3build check    # run the regression tests (add -e pdftex,xetex,luatex for all engines)
l3build ctan     # run the tests on all engines and build tikz-umld-ctan.zip

The regression tests are in testfiles/. After an intended change to the output, review the difference and record the new expected log with l3build save <test>.

History and authorship

TikZ-UMLD is maintained by David Imolai. It is derived from TikZ-UML by Nicolas Kielbasiewicz. See CHANGELOG.md for the reconstructed history of UMLD-specific changes.

License

TikZ-UMLD is distributed under the GNU Affero General Public License, version 3 or later. See LICENSE.md. Its origin in TikZ-UML 1.0 is recorded in NOTICE.md.

Herunterladen des vollständigen Inhalts dieses Pakets in einem Zip-Archiv (1.3M).

-UMLD – Draw UML diagrams with

-UMLD is a -based package for class, package, object, use-case, state, sequence, and component diagrams. It is a maintained derivative of -UML 1.0 with object-diagram support, two-compartment enumerations, UML constraints, pointed notes, enhanced relationship stereotypes, and rendering fixes.

Paket-UMLD
Fehlermeldungen
Repository
Version1.0.1
LizenzenGNU Affero General Public License, version 3
BetreuerDavid Imolai
Enthalten inTeX Live als tikz-umld
MiKTeX als tikz-umld
ThemenUML
PGF/
...
Gästebuch Seiten-Struktur Impressum Autor kontaktieren