Skip to content

mermaid


Function: reset()

reset(config): void

Defined in: packages/mermaid/src/config.ts:298

Resets the current config and applied directives to the provided config.

Parameters

config

MermaidConfig = siteConfig

the value to reset the currentConfig to. Defaults to the current siteConfig (e.g the value returned by getSiteConfig).

Returns

void

Opens in mermaid.ai