Definition of elements#

UML elements in TikZ-UML are split into 2 categories: “container elements” and “data elements”. The difference lays in the purpose of containing other elements. For instance, a package contains a set of classes and/or sub-packages. This is the reason why “container elements” will be defined with environments, whereas “data elements” will be defined with commands.