I am using TikZ-UML to illustrate some concepts in a scientific paper. It does the job pretty well, but I have some space problems (as in all scientific papers, there is page limit). I already managed to shrink my figures by position in the concept properly, but there is a lot of lost space within the objects.
Consider the vertical space between the name of the objects in the figure, and the lines. There is something like 4 pt between the top of "A" and the line above it, for instance, and 6 pt below "A" as well.
Is there a way to control this space, in order to further shrink my figures?
Here is a minimal example of an object model made using tikz-uml:
\documentclass[a4paper]{article}
\usepackage{tikz-uml}
\begin{document}
\begin{center}
\begin{tikzpicture}
\umlsimpleclass{A}
\umlsimpleclass[x=2]{B}
\umlassoc{A}{B}
\end{tikzpicture}
\end{center}
\end{document}
By reading tikzuml.sty, I've seen a line:
\tikzstyle{tikzuml simpleclass style}=[rectangle, minimum height=2em, node distance=2em]%
I set the minimum height to 1em. This changes the lost space above "A" and "B", but not below
Thank you very much.



\node [block, minimum size=2mm] (Ablock) {A};. – Ilbant Nov 15 '17 at 09:30\umlsimpleclass{A}
and it notably offers some support for routing the links between the boxes
– Renaud De Landtsheer Nov 15 '17 at 09:56\documentclass[a4paper]{article} \usepackage{tikz-uml}
\begin{document}
\begin{center} \begin{tikzpicture} \umlsimpleclass{A} \umlsimpleclass[x=2]{B} \umlassoc{A}{B} \end{tikzpicture} \end{center} \end{document}
By eeading tikzuml.sty, I'v sees a line:
\tikzstyle{tikzuml simpleclass style}=[rectangle, minimum height=2em, node distance=2em]%
I' set the minimum height to 1em. This changes the lost space above "A" and "B", but not below
– Renaud De Landtsheer Nov 15 '17 at 10:57