Skip to content

mermaid


Function: getConfig()

getConfig(): MermaidConfig

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

Returns a copy of the currentConfig.

Returns

MermaidConfig

The currentConfig

Remarks

Avoid calling this function repeatedly. Instead, store the result in a variable and use it, and pass it down to function calls.

Opens in mermaid.ai