Skip to content

Untitled array in Mermaid Config Schema


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


secure Default Value

The default value is:

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