LAYOUT OK :
@startuml
if (condition 1) then(yes)
(1)
detach
else(no)
endif
if(condition 2) then(yes)
(2)
detach
else(no)
endif
if(condition 3) then(yes)
(3)
detach
else(no)
endif
stop
@enduml
LAYOUT NOK :
@startuml
if (condition 1) then(yes)
:TEST 1 ;
detach
else(no)
endif
if(condition 2) then(yes)
:TEST 2;
detach
else(no)
endif
if(condition 3) then(yes)
:TEST 3;
detach
else(no)
endif
stop
@enduml
Hello, sorry I cannot post any image due to corporate restrictions. When using connectors 1-2-3, the layout is good. If I change connectors to activity labels, the layout is overly complex. Is there a way to have the layout from the left, but with activity labels instead of connectors ? Can I add instructions in the code to achieve the same ?
Left : www.plantuml.com/plantuml/png/SoWkIImgAStDuL9Go4nJq4ZEpql9BCdCprCmr5GeoKZDqwXCBTRaKW023KC8dP9QafYS0MIcvXIdQkJbQuAOG5rfO2EGJ332CC68H1ECCKmm9cH2SKb-0HUN0v03z1G0
Right : www.plantuml.com/plantuml/png/SoWkIImgAStDuL9Go4nJq4ZEpql9BCdCprCmr5GeoKZDqwXCBTRaKW02gn3Nu105GmLhC2ybjIGnEGF8JCqfJjN8ozS4CO5wqy068PbZXDqS8nADCSPkZ34XOufByWkuk1o07A0d0G00