Hello!
Thank you for excellent solution PlantUML!
I found, as I guess, some bug.
Below i reproduced this.
It generates error.
But if we remove "!pragma useVerticalIf on" then all is ok.
Hope this helps you to improve PlantUml!
P.S. exception handler and (E) connector - my original solution for exception handling in PlantUML :)
@startuml diagram
!pragma useVerticalIf on
start
floating note right: Procedure DOC_XML
partition "block" {
:do1;
WHILE (cond2) is (**loop**)
IF (cond3) THEN (**yes**)
:do4;
WHILE (cond5) is (**loop**)
IF (cond6) THEN (**yes**)
:do7;
ELSEIF (cond8) THEN (**yes**)
:do9;
ENDIF
ENDWHILE (**end**)
:do10;
ENDIF
IF (cond11) THEN (**yes**)
:do12;
break
ENDIF
ENDWHILE (**end**)
:do13;
(E)
detach
partition "Exception handler for others" #Salmon {
:do15;
}
(E)
}
stop
@enduml