MarcoEidinger/SwiftPlantUML

Configuration: adding header, title, legend, caption, footer

Closed this issue · 1 comments

In the .swiftplantuml.yml configuration file it would be helpful to add one or more of the following command commands:

  • header
  • title
  • legend
  • caption
  • footer

Example visualization

SVG

Example PlantUML script

@startuml
header
<u>Simple</u> header example
on <i>several</i> lines and using <font color=red>html</font>
end header

title
<u>Simple</u> title example
on <i>several</i> lines and using <font color=red>html</font>
end title

caption
<u>Simple</u> caption example
on <i>several</i> lines and using <font color=red>html</font>
end caption

footer
<u>Simple</u> footer example
on <i>several</i> lines and using <font color=red>html</font>
end footer

legend
<u>Simple</u> legend example
on <i>several</i> lines and using <font color=red>html</font>
end legend

class Class1 {}
class Class2 {}

Class1 -- Class2
@enduml

Example to specify a title in .swiftplantuml.yml

texts:
  title: |
    <u>Formatted</u> title example
    on <i>several</i> lines and using <font color=red>html</font>