 | Draw UML Sequence Diagrams |
Draw UML Sequence Diagrams using Web Sequence Diagram.
{{sequence style="default|earth|modern-blue|mscgen|omegapple|qsd|rose|roundgreen|napkin"}}
content here...
{{/sequence}}
For more detail see the Web Sequence Diagram web site.
| Name | Optional | Allowed values | Default value | Description |
|---|
| style | yes | a string | "default" | The style of the sequence diagram. Valid values are "default", "earth", "modern-blue", "mscgen", "omegapple", "qsd", "rose", "roundgreen" and "napkin" |
{{sequence}}
Alice->Bob: Authentication Request
Bob-->Alice: Authentication Response
{{/sequence}}
Generates:

{{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:

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:

{{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:

- Log in the wiki with a user having Administration rights
- Go to the Administration page and select the Import category
- Follow the on-screen instructions to upload the downloaded XAR
- Click on the uploaded XAR and follow the instructions