
- •Sequence Diagram
- •Basic examples
- •Comments
- •Declaring participant
- •Use non-letters in participants
- •Message to Self
- •Change arrow style
- •Change arrow color
- •Message sequence numbering
- •Title
- •Legend the diagram
- •Splitting diagrams
- •Grouping message
- •Notes on messages
- •Some other notes
- •Changing notes shape
- •Creole and HTML
- •Divider
- •Reference
- •Delay
- •Space
- •Lifeline Activation and Destruction
- •Participant creation
- •Incoming and outgoing messages
- •Stereotypes and Spots
- •More information on titles
- •Participants encompass
- •Removing Footer
- •Skinparam
- •Use Case Diagram
- •Usecases
- •Actors
- •Usecases description
- •Basic example
- •Extension
- •Using notes
- •Stereotypes
- •Changing arrows direction
- •Title the diagram
- •Splitting diagrams
- •Left to right direction
- •Skinparam
- •Complete example
- •Class Diagram
- •Relations between classes
- •Label on relations
- •Adding methods
- •Abstract and Static
- •Advanced class body
- •Notes and stereotypes
- •More on notes
- •Note on links
- •Abstract class and interface
- •Using non-letters
- •Hide attributes, methods...
- •Hide classes
- •Use generics
- •Packages
- •Packages style
- •Namespaces
- •Automatic namespace creation
- •Lollipop interface
- •Changing arrows direction
- •Title the diagram
- •Legend the diagram
- •Association classes
- •Skinparam
- •Skinned Stereotypes
- •Color gradient
- •Activity Diagram
- •Simple Activity
- •Label on arrows
- •Changing arrow direction
- •Branches
- •More on Branches
- •Synchronization
- •Long activity description
- •Notes
- •Partition
- •Title the diagram
- •Skinparam
- •Octagon
- •Complete example
- •Activity Diagram (beta)
- •Simple Activity
- •Start/Stop
- •Conditional
- •Repeat loop
- •While loop
- •Parallel processing
- •Notes
- •Title Legend
- •Colors
- •Arrows
- •Grouping
- •Swimlanes
- •Detach
- •Complete example
- •Component Diagram
- •Components
- •Interfaces
- •Basic example
- •Using notes
- •Grouping Components
- •Changing arrows direction
- •Title the diagram
- •Use UML2 notation
- •Skinparam
- •State Diagram
- •Simple State
- •Composite state
- •Long name
- •Concurrent state
- •Arrow direction
- •Note
- •More in notes
- •Skinparam
- •Object Diagram
- •Relations between objects
- •Common features with class diagrams
- •Common commands
- •Footer and header
- •Zoom
- •Salt
- •Basic widgets
- •Using grid
- •Using separator
- •Tree widget
- •Enclosing brackets
- •Adding tabs
- •Using menu
- •Advanced table
- •Creole
- •Emphasized text
- •List
- •Escape character
- •Horizontal lines
- •Headings
- •Legacy HTML
- •Table
- •OpenIconic
- •Encoding Sprite
- •Importing Sprite
- •Examples
- •Changing fonts and colors
- •Usage
- •Nested
- •Color
- •Font color, name and size
- •Black and White
- •Preprocessing
- •Including URL
- •Macro on several lines
- •Conditions
- •Search path
- •Advanced features
- •Internationalization
- •Charset
- •Color Names

1.25 More information on titles |
1 SEQUENCE DIAGRAM |
1.25 More information on titles
You can use creole formatting in the title.
@startuml
title __Simple__ **communication** example
Alice -> Bob: Authentication Request
Bob -> Alice: Authentication Response
@enduml
You can add newline using \n in the title description.
@startuml
title __Simple__ communication example\non several lines
Alice -> Bob: Authentication Request
Bob -> Alice: Authentication Response
@enduml
You can also define title on several lines using title and end title keywords.
@startuml
title
<u>Simple </u> communication example
on <i>several </i> lines and using <font color=red >html </font > This is hosted by <img:sourceforge.jpg >
end title
PlantUML Language Reference Guide (Version 8020) |
17 of 118 |

1.26 Participants encompass |
1 SEQUENCE DIAGRAM |
Alice -> Bob: Authentication Request
Bob -> Alice: Authentication Response
@enduml
1.26 Participants encompass
It is possible to draw a box around some participants, using box and end box commands. You can add an optional title or a optional background color, after the box keyword.
@startuml
box "Internal Service" #LightBlue participant Bob
participant Alice end box participant Other
Bob -> Alice : hello
Alice -> Other : hello
@enduml
1.27 Removing Footer
You can use the hide footbox keywords to remove the footer of the diagram.
@startuml
hide footbox
title Footer removed
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
@enduml
PlantUML Language Reference Guide (Version 8020) |
18 of 118 |

1.28 Skinparam |
1 SEQUENCE DIAGRAM |
1.28 Skinparam
You can use the skinparam command to change colors and fonts for the drawing. You can use this command:
•In the diagram definition, like any other commands,
•In an included file,
•In a configuration file, provided in the command line or the ANT task.
@startuml
skinparam backgroundColor #EEEBDC
skinparam sequence { ArrowColor DeepSkyBlue ActorBorderColor DeepSkyBlue LifeLineBorderColor blue
LifeLineBackgroundColor #A9DCDF
ParticipantBorderColor DeepSkyBlue
ParticipantBackgroundColor DodgerBlue
ParticipantFontName Impact
ParticipantFontSize 17
ParticipantFontColor #A9DCDF
ActorBackgroundColor aqua ActorFontColor DeepSkyBlue ActorFontSize 17 ActorFontName Aapex
}
actor User
participant "First Class" as A participant "Second Class" as B participant "Last Class" as C
User -> A: DoWork
activate A
A -> B: Create Request
activate B
B-> C: DoWork activate C
C --> B: WorkDone destroy C
B--> A: Request Created deactivate B
A --> User: Done
deactivate A
@enduml
PlantUML Language Reference Guide (Version 8020) |
19 of 118 |

1.28 Skinparam |
1 SEQUENCE DIAGRAM |
PlantUML Language Reference Guide (Version 8020) |
20 of 118 |