Replies: 2 comments 1 reply
-
Yes, would be a good idea. It looks like I have overseen it ;-) I think it would be a small extension.
and then it can be used like in (the updated version of) ./percy/TestLegend.puml
I will try to fix it next weekend. BR |
Beta Was this translation helpful? Give feedback.
-
Hi @Mengesh, I have a new implementation in MR #366, can you please check it Thank you and best regards `UpdateLegendTitle(newTitle)Based on discussion #363 a new issues was created (#364) and a new Ex. following code: @startuml
!include https://raw.githubusercontent.com/kirchsth/C4-PlantUML/extended/C4_Container.puml
' NEW CALL UpdateLegendTitle
UpdateLegendTitle("Updated legend title")
Person(admin, "Administrator")
System_Boundary(c1, 'Sample') {
Container(web_app, "Web Application")
}
System(twitter, "Twitter")
SHOW_LEGEND()
@enduml produces following diagram: |
Beta Was this translation helpful? Give feedback.
-
Would it make sense to introduce another global variable i.e.
LEGEND_TITLE_TEXT
that would default toLegend
but also let the user specify it's own title?Beta Was this translation helpful? Give feedback.
All reactions