Approval flow with branch & merge
Activity grammar with `if-else` and named lanes. Beautified output gives each lane a column, routes the rejection branch as an L-shape, and applies a theme-matched palette.
@startuml
|Employee|
start
:Submit reimbursement;
|Manager|
:Review request;
if (Approved?) then (yes)
|Finance|
:Process payment;
:Notify employee;
else (no)
|Employee|
:Receive rejection;
endif
stop
@enduml