arrow incorrect with long text if

0 votes
asked Dec 14, 2022 in Bug by diamondK
commented Dec 14, 2022 by The-Lu (74,900 points)

Hello D., and all,

Here is a possible workaround using dummy label, as:

@startuml flowchart
skinparam ActivityDiamondFontName Consolas
skinparam defaultFontSize 12
skinparam NoteFontName Microsoft Yahei
skinparam lengthAdjust none
start
if (
A
A
A
AA
A
AA
A
A
A
AA
A
AA
) then (yes)
if (
AA
) then (yes)
else
endif
elseif (
B
B
B
B
B

) then (yes)
if (
BA
) then (yes)
else
endif
else
label dummylabel
if (
CA
) then (yes)
endif
if (
CB
) then (yes)
else
endif
endif
end
@enduml

Enjoy,
Regards.

1 Answer

0 votes
answered Dec 16, 2022 by plantuml (295,800 points)

Thanks for the feedback

This should be fixed now.

...