Title
Header
Footer
Note
Caption
Legend
@startuml
title This is a Title
rectangle {
() " " as u1
component foo
}
@enduml
@startuml
header
<font color=red>Notice:</font>
This is a header
endheader
rectangle {
() " " as u1
component foo
}
@enduml
@startuml
rectangle {
() " " as u1
component foo
}
center footer This is an example footer
@enduml
Add comments (notes) to your diagram
@startuml
() " " as u1
note as n1
Add notes to your diagrams
end note
n1 -left- u1
@enduml
Add caption to your diagram
@startuml
rectangle {
() " " as u1
component foo
}
caption Figure 1
@enduml
Add legend to your diagram
@startuml
() " " as u1
legend right
Enter legend
info here
endlegend
@enduml