Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 934 Bytes

sequence-another-example.md

File metadata and controls

42 lines (29 loc) · 934 Bytes

<-Diagram Types

Sequence Diagram - Another Example:

Sequence Simple

Source code:

@startuml

Title Another Sequence Diagram Example

skinparam ParticipantBackgroundColor SkyBlue
skinparam ParticipantBorderColor Black

' Set default colours for the horizontal arrows and vertical traces: 
skinparam sequence {
    ArrowColor blue
    LifeLineBorderColor black
}

' disable the bottom boxes for aesthetic reasons:
hide footbox 

' Set default colors for notes:
skinparam NoteBackgroundColor Yellow
skinparam NoteBorderColor black

' Participants:
participantAlice\nin\nWonderlandas alice
participantBob\n\nas bob
participantMad\nHatter\nas hatter

alice -> bob: what this means
note right: Written by Lewis Carroll

bob -[#red]> hatter: this arrow is red

hatter -[#black]> alice: This is all\nnonsense!
@enduml