Is there a way to write a note on a switch case?

0 votes
asked Aug 1, 2022 in Question / help by anonymous
I have a switch case (e.g. find record in table) and wanted to add a note that to link to the page description. However, I was not able to add a note to the switch case.

Anyone with ideas how I can add a note?

1 Answer

0 votes
answered Aug 5, 2022 by The-Lu (64,340 points)

Here is a proposal:

@startuml
switch (find record in table?)
note left
first note
end note
case ( a )
note left
note a
end note
:action a;
case ( b )
note right: note b
:action b;
end 
endswitch
:end;
@enduml

Regards.

...