@startuml !function $multipleM() !return "MMM" !endfunction !function multipleN() !return "NNN" !endfunction !$C=cccccccc !C=ddddddd ' missing $ -> $ has to be used Bob -> Alice : XXX $multipleM()XXX Bob -> Alice : XXX$multipleM()XXX ==== Bob -> Alice : XXX multipleN()XXX ' user should follow the $ rule Bob -> Alice : XXXmultipleN()XXX ' but he still has a workaround !$msg="XXX" + multipleN() + "XXX" Bob -> Alice : $msg ==== Bob -> Alice : XXX$C XXX Bob -> Alice : XXX%get_variable_value("$C")XXX ==== Bob -> Alice : 2 XXX D XXX Bob -> Alice : 2 XXX%get_variable_value("D")XXX ==== note right of Alice % ... reserved for plantUML $ ... all variables/functions/procedures should start with it (otherwise no "automatic replacement", ...) \ ... escape charatcter \\ ... \% %newline() \n ... new line (should be replaced with %chr(37)newline() or %chr(36)breakline()?) \% ... % (avoids that eg. %chr(37)newline() is automatically replaced) \$ ... $ (avoids that eg. %chr(36)multipleM() is automatically replaced) end note @enduml
Decode URL
Submit
amiga
aws-orange
black-knight
bluegray
blueprint
cerulean-outline
cerulean
crt-amber
crt-green
cyborg-outline
cyborg
hacker
lightgray
mars
materia-outline
materia
metal
mimeograph
minty
plain
reddress-darkblue
reddress-darkgreen
reddress-darkorange
reddress-darkred
reddress-lightblue
reddress-lightgreen
reddress-lightorange
reddress-lightred
sandstone
silver
sketchy-outline
sketchy
spacelab
spacelab-white
superhero-outline
superhero
toy
united
vibrant
🎉 Discover the future PlantUML Web Editor! 🚀
PNG
SVG
ASCII Art