Skip to content

Untitled array in Mermaid Config Schema

txt
https://mermaid.js.org/schemas/config.schema.json#/properties/secure

This option controls which currentConfig keys are considered secure and can only be changed via call to mermaidAPI.initialize. Calls to mermaidAPI.reinitialize cannot make changes to the secure keys in the current currentConfig.

This prevents malicious graph directives from overriding a site's default security.

AbstractExtensibleStatusIdentifiableCustom PropertiesAdditional PropertiesAccess RestrictionsDefined In
Can be instantiatedNoUnknown statusUnknown identifiabilityForbiddenAllowednoneconfig.schema.json*

secure Type

string[]

secure Default Value

The default value is:

json
["secure", "securityLevel", "startOnLoad", "maxTextSize", "maxEdges"]