2022-09-08 21:52:31 +05:30
|
|
|
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT. Please edit the corresponding file in src/docs.
|
2022-09-03 13:05:47 +05:30
|
|
|
|
2022-09-03 09:13:37 +05:30
|
|
|
# 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 = {
|
2022-09-03 13:30:16 +05:30
|
|
|
startOnLoad: true,
|
2022-09-03 13:05:47 +05:30
|
|
|
};
|
2022-09-03 09:13:37 +05:30
|
|
|
```
|
|
|
|
|
|
|
|
#### version 0.5.0
|
|
|
|
|
|
|
|
```javascript
|
|
|
|
mermaid.initialize({
|
2022-09-03 13:30:16 +05:30
|
|
|
startOnLoad: true,
|
2022-09-03 13:05:47 +05:30
|
|
|
});
|
2022-09-03 09:13:37 +05:30
|
|
|
```
|