@startuml !include <C4/C4_Component> [A] [B] ' update the style of default relation, it has to set both properties (combined statement not working) !unquoted procedure UpdateRelStyle($textColor, $lineColor) !$elementSkin = "skinparam arrow {" + %newline() !$elementSkin = $elementSkin + " Color " + $lineColor + %newline() + " FontColor " + $textColor + %newline() ' !$elementSkin = $elementSkin + " FontColor " + $textColor + %newline() !$elementSkin = $elementSkin + "}" + %newline() $elementSkin !endprocedure UpdateRelStyle(red,blue) !function $elementTagSkinparams($element, $tagStereo, $bgColor) !$elementSkin = "skinparam " + $element + "<<" + $tagStereo + ">> {" + %newline() !if ($bgColor != "") !$elementSkin = $elementSkin + " BackgroundColor " + $bgColor + %newline() !endif !$elementSkin = $elementSkin + "}" + %newline() !return $elementSkin !endfunction $elementTagSkinparams("component", "", "green") !$msg = "bla" + %newline() + "bla" A --> B : $msg @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