Aligning elements#
If you want to align some nodes, you can use the anchor option.
\umlsimpleclass{A}
\umlsimpleclass[below left=2cm and 2cm of A, anchor=north]{B}
\umlclass[right=4cm of B.north, anchor=north]{C}{i : int \\ r : double}{}
If you want to align some nodes, you can use the anchor option.
\umlsimpleclass{A}
\umlsimpleclass[below left=2cm and 2cm of A, anchor=north]{B}
\umlclass[right=4cm of B.north, anchor=north]{C}{i : int \\ r : double}{}