mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-10-25 00:44:10 +02:00 
			
		
		
		
	 70f94c3e44
			
		
	
	70f94c3e44
	
	
	
		
			
			Updates the auto-generated warning to tell people to edit packages/mermaid/src/docs instead of src/docs.
		
			
				
	
	
		
			28 lines
		
	
	
		
			493 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			493 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT. Please edit the corresponding file in packages/mermaid/src/docs.
 | |
| 
 | |
| # Upgrading
 | |
| 
 | |
| Some of the interfaces has been upgraded.
 | |
| 
 | |
| ## From version 0.4.0 to 0.5.0
 | |
| 
 | |
| ### Initialization
 | |
| 
 | |
| `mermaid_config` is no longer used. Instead a call to mermaid initialize is done as in the example below:
 | |
| 
 | |
| #### version 0.4.0
 | |
| 
 | |
| ```javascript
 | |
| mermaid_config = {
 | |
|   startOnLoad: true,
 | |
| };
 | |
| ```
 | |
| 
 | |
| #### version 0.5.0
 | |
| 
 | |
| ```javascript
 | |
| mermaid.initialize({
 | |
|   startOnLoad: true,
 | |
| });
 | |
| ```
 |