Is there a way to put the condition of the if block in the diamond?
like this picture:
(--------)
Hello G., and all,
For that, you must to use new Activity diagram, as:
@startuml skinparam conditionStyle InsideDiamond start :Test; if (Condition) then (Yes) :Yes; else (No) :No; endif stop @enduml
Enjoy,Regards,Th.