# Source: https://github.com/mermaid-js/mermaid/tree/develop/docs/config/setup/config/functions/getUserDefinedConfig.md

> **Warning**
>
> ## THIS IS AN AUTOGENERATED FILE. DO NOT EDIT.
>
> ## Please edit the corresponding file in [/packages/mermaid/src/docs/config/setup/config/functions/getUserDefinedConfig.md](../../../../../packages/mermaid/src/docs/config/setup/config/functions/getUserDefinedConfig.md).

[**mermaid**](../../README.md)

---

# Function: getUserDefinedConfig()

> **getUserDefinedConfig**(): [`MermaidConfig`](../../mermaid/interfaces/MermaidConfig.md)

Defined in: [packages/mermaid/src/config.ts:252](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/config.ts#L252)

## Returns

[`MermaidConfig`](../../mermaid/interfaces/MermaidConfig.md)