mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-23 18:26:39 +02:00
30 lines
1.0 KiB
Markdown
30 lines
1.0 KiB
Markdown
> **Warning**
|
|
>
|
|
> ## THIS IS AN AUTOGENERATED FILE. DO NOT EDIT.
|
|
>
|
|
> ## Please edit the corresponding file in [/packages/mermaid/src/docs/config/setup/config/functions/getConfig.md](../../../../../packages/mermaid/src/docs/config/setup/config/functions/getConfig.md).
|
|
|
|
[**mermaid**](../../README.md)
|
|
|
|
---
|
|
|
|
# Function: getConfig()
|
|
|
|
> **getConfig**(): [`MermaidConfig`](../../mermaid/interfaces/MermaidConfig.md)
|
|
|
|
Defined in: [packages/mermaid/src/config.ts:131](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/config.ts#L131)
|
|
|
|
## getConfig
|
|
|
|
| Function | Description | Type | Return Values |
|
|
| --------- | ------------------------- | ----------- | ------------------------------ |
|
|
| getConfig | Obtains the currentConfig | Get Request | Any 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`](../../mermaid/interfaces/MermaidConfig.md)
|
|
|
|
The currentConfig
|