mermaid/docs/content/upgrading.md

28 lines
394 B
Markdown
Raw Normal View History

2015-09-24 08:04:06 +02:00
---
order: 10
---
2015-09-26 18:30:13 +02:00
# Upgrading to from version -0.4.0
Some of the interfaces has been upgraded.
2015-09-26 18:30:13 +02:00
## Initialization
mermaid_config is no longer used. Instead a call to mermaid initialize is done as in the example below:
2015-09-24 08:04:06 +02:00
### version 0.4.0
```
mermaid_config = {
startOnLoad:true
};
```
2015-09-24 08:04:06 +02:00
### will look like below in version 0.5.0
```
mermaid.initialize({
startOnLoad:true
2015-09-26 13:00:30 +02:00
});
```