Skip to content

mermaid


Function: getConfig() ​

getConfig(): MermaidConfig

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

getConfig ​

FunctionDescriptionTypeReturn Values
getConfigObtains the currentConfigGet RequestAny Values from current Config

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

Returns ​

MermaidConfig

The currentConfig

Opens in MermaidChart.com