Skip to content

Latest commit

 

History

History
116 lines (87 loc) · 1.26 KB

File metadata and controls

116 lines (87 loc) · 1.26 KB

Diagram Features

<-Home

Contents

Title
Header
Footer
Note
Caption
Legend

@startuml
title This is a Title
rectangle {
    () " " as u1
    component foo
}
@enduml

Title

@startuml
header
<font color=red>Notice:</font>
This is a header
endheader
rectangle {
    () " " as u1
    component foo
}
@enduml

Header

@startuml
rectangle {
    () " " as u1
    component foo
}
center footer This is an example footer
@enduml

Footer

Add comments (notes) to your diagram

@startuml
() " " as u1
note as n1
    Add notes to your diagrams
end note
n1 -left- u1
@enduml

Note

Add caption to your diagram

@startuml
rectangle {
    () " " as u1
    component foo
}
caption Figure 1
@enduml

Caption

Add legend to your diagram

@startuml
() " " as u1
legend right
  Enter legend
  info here
endlegend
@enduml

Legend