Skip to content

Untitled integer in Mermaid Config Schema

txt
https://mermaid.js.org/schemas/config.schema.json#/$defs/ErDiagramConfig/properties/diagramPadding

The amount of padding around the diagram as a whole so that embedded diagrams have margins, expressed in pixels.

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

diagramPadding Type

integer

diagramPadding Constraints

minimum: the value of this number must greater than or equal to: 0

diagramPadding Default Value

The default value is:

json
20