esteinberg / plantuml4idea

Intellij IDEA plugin for PlantUML
Apache License 2.0
618 stars 111 forks source link

skinparam ConditionEndStyle hline work unexpectedly #397

Closed ednow closed 11 months ago

ednow commented 11 months ago

from the official documentskinparam ConditionEndStyle hlinewill hide Diamond of else branch. link

however, when there is a break keyword, it will be still the Diamond style

my code:

@startuml
skinparam ConditionEndStyle hline
:start;

repeat  :repeat]
    'not diamond style, what I want
    if (check sth.) then (no)
    :do stuff]
    else (yes)
    endif

    'still diamond style, not my expectation
    if (hello) then (yes)
      break
    endif
      ->no;
repeat while (check sth.) is (no) not (yes)

:end;

@enduml

36ea24f4f14699208c5013e567996693.jpg

krasa commented 11 months ago

Not a plugin issue, use this: https://github.com/plantuml/plantuml/issues