Setting for shorter standard lenght arrows in class diagram

+2 votes
asked Aug 21, 2016 in Wanted features by asatter (120 points)
I would like to have a setting (skinparam) for shorter standard arrow length in class diagrams. I find myself always having trouble to squeeze in all classes I would like to show without making the diagram too big. Shorter arrows between the class boxes would help a lot, I think. Or maybe there is a way to acheive this already that I have missed?

Best Regards

asatter

1 Answer

0 votes
answered Feb 2, 2018 by Anthony-Gaudino (5,720 points)

To set the separation of nodes, you should use skinparam Ranksep and skinparam Nodesep

commented May 21, 2020 by Emilio
Hi,

Which are the default values for those skinparams?

And  value range?
commented Sep 26, 2020 by Potherca

With some experimentionI have discover that the default values are (currently):
 

skinparam nodesep 35
skinparam ranksep 60
commented Jan 24, 2025 by Aede (100 points)
Is there also an equivalent to use within a style block allowing to add this to individual elements?
commented Jan 26, 2025 by Potherca (480 points)
No, nodesep and ranksep are for the entire diagram. You'll need a different solution...
...