1
0
duplikat dari https://github.com/mermaid-js/mermaid.git synced 2025-11-01 19:34:17 +01:00
Files
mermaid/docs/upgrading.md
2019-07-12 20:40:54 +02:00

29 baris
384 B
Markdown

# 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
})
```