mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-11-03 20:34:20 +01:00 
			
		
		
		
	add bidirectional arrow to sequence diagram
This commit is contained in:
		@@ -206,18 +206,20 @@ Messages can be of two displayed either solid or with a dotted line.
 | 
			
		||||
[Actor][Arrow][Actor]:Message text
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
There are six types of arrows currently supported:
 | 
			
		||||
There are ten types of arrows currently supported:
 | 
			
		||||
 | 
			
		||||
| Type   | Description                                      |
 | 
			
		||||
| ------ | ------------------------------------------------ |
 | 
			
		||||
| `->`   | Solid line without arrow                         |
 | 
			
		||||
| `-->`  | Dotted line without arrow                        |
 | 
			
		||||
| `->>`  | Solid line with arrowhead                        |
 | 
			
		||||
| `-->>` | Dotted line with arrowhead                       |
 | 
			
		||||
| `-x`   | Solid line with a cross at the end               |
 | 
			
		||||
| `--x`  | Dotted line with a cross at the end.             |
 | 
			
		||||
| `-)`   | Solid line with an open arrow at the end (async) |
 | 
			
		||||
| `--)`  | Dotted line with a open arrow at the end (async) |
 | 
			
		||||
| Type     | Description                                                              |
 | 
			
		||||
| -------- | ------------------------------------------------------------------------ |
 | 
			
		||||
| `->`     | Solid line without arrow                                                 |
 | 
			
		||||
| `-->`    | Dotted line without arrow                                                |
 | 
			
		||||
| `->>`    | Solid line with arrowhead                                                |
 | 
			
		||||
| `-->>`   | Dotted line with arrowhead                                               |
 | 
			
		||||
| `<<->>`  | Solid line with bidirectional arrowheads (v\<MERMAID_RELEASE_VERSION>+)  |
 | 
			
		||||
| `<<-->>` | Dotted line with bidirectional arrowheads (v\<MERMAID_RELEASE_VERSION>+) |
 | 
			
		||||
| `-x`     | Solid line with a cross at the end                                       |
 | 
			
		||||
| `--x`    | Dotted line with a cross at the end.                                     |
 | 
			
		||||
| `-)`     | Solid line with an open arrow at the end (async)                         |
 | 
			
		||||
| `--)`    | Dotted line with a open arrow at the end (async)                         |
 | 
			
		||||
 | 
			
		||||
## Activations
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user