-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Legend text includes unexpected properties (e.g. $lineStyle) #342
Comments
Hi @cc-stjm, most of the problems are related to the generated source and for that I think the best would be that you create an issue by the C4PlantUMLExporter
But independent of that I will check why $lineStyle is displayed in the legend, this should not be the case at all. BR Helmut |
Hi @cc-stjm, a fix (Solid is supported too) is merged into master. Maybe you want to test it @startuml
top to bottom direction
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/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 |
#342 Legend displays unknown borderStyle values too (instead of $lineStyle)
Thanks, that works |
I'm generating plantUml from Structurizr CLI, using the C4PlantUMLExporter
The legends are listing styling properties in text, e.g. mentioning $lineStyle - is there something I need to be doing (either within Structurizr or by tweaking the generated PlantUML afterwards) to avoid this?
Example PlantUML (link)
The text was updated successfully, but these errors were encountered: