Too small spacing inside states

0 votes
asked Sep 28, 2018 in Bug by Pander (780 points)

States inside states have often not the proper spacing on top. See

@startuml
state a {
    b --> c
}
state d {
    e --> f
}
state g {
    h --> i
}
state j {
    k -> l
}
state m {
    n --> o
}
[*] --> e
f --> h
[*] -left-> k
l -left-> n
note "only state b has\nproper distance on top" as N
@enduml

and output

commented Sep 29, 2018 by albert (3,540 points)
When running in the plantuml webserver (http://www.plantuml.com/plantuml/uml result: http://www.plantuml.com/plantuml/uml/FSz1geD030RWVKxnu_A1LtXuWbwWxMBKMArZ8awwAALtRnY7oIP_Fa8WNR9ms6kBvC4O0H-2Lu-s_ST0t-9ZSSu-LNyKdxClrP_5LpZ7objXoUlgVlsxvymqvJwV4daodrQADGk96gDHYM-SvthC8TraFtJd0-FYAWD31QPxWv1meOvbzFz-) I see that there is a bit more space, but still some more spce would be better.  Looks like you are using an "older" versions.

1 Answer

0 votes
answered Sep 29, 2018 by Pander (780 points)
I was using version 1.2018.11 With which should I retest?
commented Sep 30, 2018 by albert (3,540 points)
I tested with the webservers version. You can probably test with the latest bets / update:  http://beta.plantuml.net/plantuml.jar this is currently version: 1.2018.11beta11 I do not know which beta sub version you are using (java -Djava.awt.headless=true -jar plantuml.jar -version). I tested now with the 1.2018.11beta11 and see the slightly better result here as well.
...