Trying to draw a package classes diagram with pgf-umlcd
, I have got an error because of text width
parameter for the class width, I don't know which package I need to solve the problem.
Here is a sample code:
\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usepackage{pgf-umlcd}
\begin{document}
\begin{tikzpicture}
\begin{package}{Package}
\begin{class}{Class}[text width=5cm]{1 ,1}
...
\end {class}
\end{package}
\end{tikzpicture}
\end{document}
Thanks