mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-11-04 04:44:08 +01:00 
			
		
		
		
	Merge branch 'develop' into 1179-SupportGenericTypesForMembers
This commit is contained in:
		@@ -509,13 +509,13 @@ It is possible to apply specific styles such as a thicker border or a different
 | 
			
		||||
graph LR
 | 
			
		||||
    id1(Start)-->id2(Stop)
 | 
			
		||||
    style id1 fill:#f9f,stroke:#333,stroke-width:4px
 | 
			
		||||
    style id2 fill:#ccf,stroke:#f66,stroke-width:2px,stroke-dasharray: 5, 5
 | 
			
		||||
    style id2 fill:#bbf,stroke:#f66,stroke-width:2px,color:#fff,stroke-dasharray: 5, 5
 | 
			
		||||
```
 | 
			
		||||
```mermaid
 | 
			
		||||
graph LR
 | 
			
		||||
    id1(Start)-->id2(Stop)
 | 
			
		||||
    style id1 fill:#f9f,stroke:#333,stroke-width:4px
 | 
			
		||||
    style id2 fill:#ccf,stroke:#f66,stroke-width:2px,stroke-dasharray: 5, 5
 | 
			
		||||
    style id2 fill:#bbf,stroke:#f66,stroke-width:2px,color:#fff,stroke-dasharray: 5, 5
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -275,11 +275,12 @@ mermaidAPI.initialize({
 | 
			
		||||
### Parameters
 | 
			
		||||
 | 
			
		||||
-   `id`  the id of the element to be rendered
 | 
			
		||||
-   `txt`  the graph definition
 | 
			
		||||
-   `_txt`  
 | 
			
		||||
-   `cb`  callback which is called after rendering is finished with the svg code as inparam.
 | 
			
		||||
-   `container`  selector to element in which a div with the graph temporarily will be inserted. In one is
 | 
			
		||||
    provided a hidden div will be inserted in the body of the page instead. The element will be removed when rendering is
 | 
			
		||||
    completed.
 | 
			
		||||
-   `txt`  the graph definition
 | 
			
		||||
 | 
			
		||||
## 
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user