mirror of
https://github.com/mermaid-js/mermaid.git
synced 2024-09-05 09:01:09 +02:00
384 B
384 B
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
mermaid_config = {
startOnLoad: true
}
version 0.5.0
mermaid.initialize({
startOnLoad: true
})