The current version of the docToolchain Docker image (2.0.1) contains an old version of graphviz (2.40.1) which is known to cause problems, cf. https://forum.plantuml.net/5459/too-much-vertical-whitespace-when-using-packages.
Please update to a more recent version (which should come automatically when switching to a current openjdk:17-jdk-alpine base image (PR is coming, stay tuned, @rdmueller + @aklemp).