Styling failing on conditional blocks in beta 16

0 votes
asked May 6, 2017 in Bug by tex (180 points)
I have been trying out the new beta 16 (via a dropbox link in a prior question), and it seems to have broken styling for these repeat loops (but also for if blocks too).
 
Please try this PlantUML for a demonstration:
 
@startuml
skinparam classFontColor black
skinparam shadowing true
hide members 
skinparam padding 15
skinparam activity {
   BackgroundColor #5555ff
   ArrowColor Green
   BorderColor Cyan
}  
start
repeat :foo as starting label;  
  :read data;  
  :generate diagrams;  
backward:This is backward;  
repeat while (more data?)  
 
if (Is daytime?) then (no) 
 : Go To Sleep;
 else (yes)
endif
stop
@enduml
 
I would expect

1 Answer

+1 vote
answered May 6, 2017 by plantuml (295,000 points)
selected May 6, 2017 by tex
 
Best answer

We have recently added a new setting for diamond, so you should use:

@startuml
skinparam classFontColor black
skinparam shadowing true
hide members
skinparam padding 15
skinparam activity {
   BackgroundColor #5555ff
   BorderColor Cyan
   DiamondBackgroundColor #5555ff
   DiamondBorderColor Cyan
   ArrowColor Green
}  
start
repeat :foo as starting label;  
  :read data;  
  :generate diagrams;  
backward:This is backward;  
repeat while (more data?)  
 
if (Is daytime?) then (no)
 : Go To Sleep;
 else (yes)
endif
stop
@enduml

http://www.plantuml.com/plantuml/uml/VP4nRiCm34LtdO90btZiaCKPcZP5WixD1MYBjeL8ea4fDOoYTozb9q26ee86wVtFBnBQfuoIhy6RT75nHC40hSUKZXppWJqBD1xRouES1hGykTX3bYkPmLc2GA4XIV1W6z7QOdhUFa1ii_joUOPl0m1l6jmBNwDTNthQwkgwHMAn92i-p1WBUtSOEDf_gkwEFufVHNXQqKc8ela1xROCRuH6mWnrnmoOO86bSuyD-PtQ06eXj60nu-tUKoJ1J60TzZfPAhpHpYOKMvy7bq3t7HJnzieqE4-m2IoqvBrK9T2u3ZOVIScSNI25UQ08cyYLgZMS6CuCdvvet1aWdpHYfbGPYjPrEWUFPgzd_SXV

We've noticed a bug with the padding in your example : we're going to have a look on it.

commented May 6, 2017 by tex (180 points)
Thanks for the fast response and the information on the DiamondBackgroundColor and DiamondBorderColor . Yes, sorry, I forgot to mention the padding bug too (which I also noticed).
commented May 6, 2017 by plantuml (295,000 points)
No problem!
This should be fixed with last beta
https://www.dropbox.com/s/koo42q3d9gxw288/plantuml.jar?dl=0
Thanks again for the report!
commented Jun 3, 2017 by anonymous
This notification helps...please dont forgot to add the new Diamond colors to the manual.
...