+ Definition
Code Block |
---|
sequenceDiagram
participant Alice
participant John
rect rgb(191, 223, 255)
note right of Alice: Alice calls John.
Alice->>+John: Hello John, how are you?
rect rgb(200, 150, 255)
Alice->>+John: John, can you hear me?
John-->>-Alice: Hi Alice, I can hear you!
end
John-->>-Alice: I feel great!
end
Alice ->>+ John: Did you want to go to the game tonight?
John -->>- Alice: Yeah! See you there. |
+ Diagram
Mermaid | ||||||
---|---|---|---|---|---|---|
| ||||||
{"diagramDefinition":"sequenceDiagram\r\n participant Alice\r\n participant John\r\n\r\n rect rgb(191, 223, 255)\r\n note right of Alice: Alice calls John.\r\n Alice->>+John: Hello John, how are you?\r\n rect rgb(200, 150, 255)\r\n Alice->>+John: John, can you hear me?\r\n John-->>-Alice: Hi Alice, I can hear you!\r\n end\r\n John-->>-Alice: I feel great!\r\n end\r\n Alice ->>+ John: Did you want to go to the game tonight?\r\n John -->>- Alice: Yeah! See you there."} |