What helped me most of the time if I needed one or two nudges to improve the layout was [0]. What is notoriously bad, but I think a dot deficiency and not PlantUMLs fault, is the order of components and packages, especially if you link between a package and another package's children.
[0] https://crashedmind.github.io/PlantUMLHitchhikersGuide/layou...