Draws UML Sequence Diagrams using Web Sequence Diagram.

Examples

Simple with default style

{{sequence}}
Alice->Bob: Authentication Request
Bob-->Alice: Authentication Response
{{/sequence}}

Generates:

Alice->Bob: Authentication Request
Bob-->Alice: Authentication Response

Grouping with Blue style

{{sequence style="modern-blue"}}
Alice->Bob: Authentication Request
alt successful case
  Bob->Alice: Authentication Accepted
else some kind of failure
  Bob->Alice: Authentication Failure
  opt
    loop 1000 times
      Alice->Bob: DNS Attack
    end
  end
else Another type of failure
  Bob->Alice: Please repeat
end
{{/sequence}}

Generates:

Alice->Bob: Authentication Request
alt successful case
  Bob->Alice: Authentication Accepted
else some kind of failure
  Bob->Alice: Authentication Failure
  opt
    loop 1000 times
      Alice->Bob: DNS Attack
    end
  end
else Another type of failure
  Bob->Alice: Please repeat
end

Activation and Destruction with Napkin style

{{sequence style="napkin"}}
User->A: DoWork
activate A
A->B: <<createRequest>>
activate B
B->C: DoWork
activate C
C-->B: WorkDone
destroy C
B-->A: RequestCreated
deactivate B
A->User: Done
{{/sequence}}

Generates:

User->A: DoWork
activate A
A->B: <>
activate B
B->C: DoWork
activate C
C-->B: WorkDone
destroy C
B-->A: RequestCreated
deactivate B
A->User: Done

Notes with Round Green style

{{sequence style="roundgreen"}}
participant Alice
participant Bob

note left of Alice
  This is displayed
  left of Alice.
end note
note right of Alice: This is displayed right of Alice.
note over Alice: This is displayed over Alice.
note over Alice, Bob: This is displayed over Bob and Alice.
{{/sequence}}

Generates:

participant Alice
participant Bob

note left of Alice 
  This is displayed 
  left of Alice.
end note
note right of Alice: This is displayed right of Alice.
note over Alice: This is displayed over Alice.
note over Alice, Bob: This is displayed over Bob and Alice.