[From string (line 8) ] @startuml !unquoted function my_Function($arg) :myFunction(); note right called with $arg end note !endfunction ^^^^^ This function does not have any !return directive. Declare it as a procedure instead ?