mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-18 06:49:47 +02:00
New version of docs
This commit is contained in:
23
docs/upgrading.md
Normal file
23
docs/upgrading.md
Normal file
@@ -0,0 +1,23 @@
|
||||
#Upgrading to from version -0.4.0
|
||||
|
||||
Some of the interfaces has been upgraded.
|
||||
|
||||
#Initialization
|
||||
|
||||
mermaid_config is no longer used. Instead a call to mermaid initialize is done as in the example below:
|
||||
|
||||
## version 0.4.0
|
||||
|
||||
```
|
||||
mermaid_config = {
|
||||
startOnLoad:true
|
||||
};
|
||||
```
|
||||
|
||||
## will look like below in version 0.5.0
|
||||
|
||||
```
|
||||
mermaid.initialize({
|
||||
startOnLoad:true
|
||||
});
|
||||
```
|
Reference in New Issue
Block a user