Resizing elements#

For elements that can not contain other elements, you can set their width with the width option. The default value is generally 10ex. You can use the width option to specify another value:

\umlemptyclass[width=15ex]{class15}
\umlemptyclass[y=-2, width=30ex]{class30}

Figure made with TikZ

Figure made with TikZ