Update documentation

This commit is contained in:
Richard Gibson
2015-11-06 10:24:51 -05:00
parent 26ebbf82ee
commit a59a5a2402

View File

@@ -74,7 +74,7 @@ There are six types of arrows currently supported:
## Notes ## Notes
It is possible to add notes to a sequence diagram. This is done by the notation It is possible to add notes to a sequence diagram. This is done by the notation
Note [ right | left ] of [Actor]: Text in note content Note [ right of | left of | over ] [Actor]: Text in note content
See the example below: See the example below:
``` ```
@@ -92,18 +92,17 @@ sequenceDiagram
Note right of John: Text in note Note right of John: Text in note
``` ```
It is possible to break text into different rows by using <br/> as a line breaker. It is also possible to create notes spanning two participants:
``` ```
%% Example of sequence diagram
sequenceDiagram sequenceDiagram
participant John Alice->John: Hello John, how are you?
Note left of John: Text in note spanning several rows. Note over Alice,John: A typical interaction
``` ```
```mermaid ```mermaid
sequenceDiagram sequenceDiagram
participant John Alice->John: Hello John, how are you?
Note left of John: Text in note spanning several rows. Note over Alice,John: A typical interaction
``` ```
## Loops ## Loops