sequenceDiagram
participant John
Note rightof John: Text in note
sequenceDiagramAlice->John: HelloJohn, how are you?
Note over Alice,John: A typical interaction
sequenceDiagram
Alice->John: Hello John, how are you?
loop Reply every minute
John-->Alice: Great!end
sequenceDiagram
Alice->>Bob: Hello Bob, how are you?
alt is sick
Bob->>Alice: Not so good :(
elseis well
Bob->>Alice: Feeling fresh like a daisy
end
opt Extra response
Bob->>Alice: Thanks for asking
end
gantt
title AGanttDiagram
section SectionA task :a1, 2014-01-01, 30d
Another task :after a1 , 20d
section AnotherTaskin sec :2014-01-12 , 12d
another task :24d
gantt
title AGanttDiagram
section SectionA task :a1, 2014-01-01, 30d
Another task :after a1 , 20d
section AnotherTaskin sec :2014-01-12 , 12d
another task :24d
graph LR
A[Square Rect] -- Link text --> B((Circle))
A --> C(Round Rect)
B --> D{Rhombus}C --> D
sequenceDiagram
Alice ->> Bob: Hello Bob, how are you?
Bob-->>John: How about you John?
Bob--x Alice: I am good thanks!
Bob-x John: I am good thanks!
Note rightof John: Bob thinks along<br/>longtime, so long<br/>that thetext does<br/>not fit onarow.
Bob-->Alice: Checking with John...
Alice->John: Yes... John, how are you?
sequenceDiagram
loop Daily query
Alice->>Bob: Hello Bob, how are you?
alt is sick
Bob->>Alice: Not so good :(
elseis well
Bob->>Alice: Feeling fresh like a daisy
end
opt Extra response
Bob->>Alice: Thanks for asking
endend