Some of the interfaces has been upgraded.
mermaid_config is no longer used. Instead a call to mermaid initialize is done as in the example below:
mermaid_config = { startOnLoad:true };
mermaid.initialize({ startOnLoad:true });