Skip to content

Untitled integer in Mermaid Config Schema

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

整个图表周围的填充量,以便嵌入的图表具有边距,以像素表示。

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