How to add a note to if condition. The Note added in below code appears floating:
@startuml
start
:ClickServlet.handleRequest();
:new page;
if (Page.onSecurityCheck) then (true)
note right
Check the security using API
end note
else (no)
:Render page template;
endif
stop
@enduml