Function: setConfig()
setConfig(
conf):MermaidConfig
Defined in: packages/mermaid/src/config.ts:106
Updates the currentConfig with the provided conf after sanitization.
Parameters
conf
The potential currentConfig
Returns
The currentConfig merged with the sanitized conf
Deprecated
Any changes to the currentConfig would be overwritten by the next call to addDirective or reset.