plantuml-stdlib / C4-PlantUML

C4-PlantUML combines the benefits of PlantUML and the C4 model for providing a simple way of describing and communicate software architectures
MIT License
6.42k stars 1.11k forks source link

#342 Legend displays unknown borderStyle values too (instead of $lineStyle) #343

Closed kirchsth closed 8 months ago

kirchsth commented 8 months ago

related to #342

@startuml
top to bottom direction

!include https://raw.githubusercontent.com/kirchsth/C4-PlantUML/extended/C4_Container.puml

AddElementTag("Element", $bgColor="#dddddd", $borderColor="#9a9a9a", $fontColor="#000000", $sprite="", $shadowing="", $borderStyle="Solid", $borderThickness="1")
AddBoundaryTag("Software System", $bgColor="#ffffff", $borderColor="#0b4884", $fontColor="#0b4884", $shadowing="", $borderStyle="Solid", $borderThickness="1")

System_Boundary("Foo_boundary", "Foo", $tags="Software System") {

Container(Foo.Bar, "Bar", $techn="", $descr="desc", $tags="Element", $link="")

}

SHOW_LEGEND(true)
@enduml

It can be tested via my extended branch

BR Helmut