mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-11-03 20:34:20 +01:00 
			
		
		
		
	docs(flowchart): add documentation on multiple nodes style
This commit is contained in:
		@@ -991,6 +991,24 @@ flowchart LR
 | 
			
		||||
    classDef someclass fill:#f96
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
This form can be used when declaring multiple links between nodes:
 | 
			
		||||
 | 
			
		||||
```mermaid-example
 | 
			
		||||
flowchart LR
 | 
			
		||||
    A:::foo & B:::bar --> C:::foobar
 | 
			
		||||
    classDef foo stroke:#f00
 | 
			
		||||
    classDef bar stroke:#0f0
 | 
			
		||||
    classDef foobar stroke:#00f
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
```mermaid
 | 
			
		||||
flowchart LR
 | 
			
		||||
    A:::foo & B:::bar --> C:::foobar
 | 
			
		||||
    classDef foo stroke:#f00
 | 
			
		||||
    classDef bar stroke:#0f0
 | 
			
		||||
    classDef foobar stroke:#00f
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Css classes
 | 
			
		||||
 | 
			
		||||
It is also possible to predefine classes in css styles that can be applied from the graph definition as in the example
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user