Hide empty descriptions removes inline style in State Diagram

+1 vote
asked Apr 19, 2021 in Bug by Vookie

The use of hide empty descriptions removes inline style in State Diagram.

An example:

@startuml

  hide empty description

  state "Dashed 1" as State_1 ##[dashed]

  State_1 : description

  state "Dashed 2" as State_2 ##[dashed]

@enduml

Produces one box dashed, while the second one is not. If you remove "hide empty description" both are rendered dashed.

I used PlantUML 1.2021.01.

commented Apr 20, 2021 by The-Lu (63,920 points)

Hello PlantUML,

Same observation with #line.dashed form:

Without 'hide empty description' that is OK:

With 'hide empty description' it is KO:

Thanks for the correction,
Regards,
Th.

commented Sep 14, 2022 by corec (120 points)
This issues has reappeared and I can verify that this is happening on version 2022.7 and 2022.8beta2 running at plantuml.com
commented Sep 14, 2022 by plantuml (294,960 points)

Sorry about that!

This should be working with last snapshot and on the online server.

1 Answer

0 votes
answered Apr 28, 2021 by The-Lu (63,920 points)

Hello V.,

This is corrected on V1.2021.5 (25 Apr, 2021).

Thanks PlantUML for this works,

Regards,
Th.

...