@startuml !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Component.puml SHOW_PERSON_OUTLINE() ' all (default) persons have a dotted line UpdateElementStyle("person", $borderStyle=DottedLine(), $borderThickness=5) ' reset dashed back to solid (and set red border color) for all admin AddPersonTag("admin", $borderStyle=SolidLine(), $borderColor="red") ' set the (default) boundary thisckness to 3 (and use it for all persons) UpdateBoundaryStyle($borderThickness=3) ' persons should get a new dottet boundary AddBoundaryTag("persons", $borderStyle=DottedLine(), $bgColor=$BOUNDARY_BG_COLOR, $fontColor=$BOUNDARY_COLOR) ' system boundaries should use solid styles UpdateSystemBoundaryStyle($borderStyle=SolidLine(), $borderThickness=1) ' default components should use dotted styles UpdateElementStyle("component", $borderStyle=DashedLine(), $borderThickness="8") ' admin specific components: reset to solud and red border color AddComponentTag("admin component", $borderStyle=SolidLine(), $borderThickness=1, $borderColor=red) Boundary(B, "All involved persons", $tags="persons") { Person(P,"person") Person(ADMIN, "Admin", $tags="admin") } System_Boundary(S, "System") { Component(C,"Component","techn") Component(ADMIN_C,"Admin Component","techn", $tags="admin component") } AddRelTag("admin call", $lineStyle=DashedLine(), $lineThickness=2, $textColor="red", $lineColor="red") Rel(P,C,"uses") Rel(ADMIN,ADMIN_C,"uses",$tags="admin call") SHOW_LEGEND() @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