Skip to content

Untitled integer in Mermaid Config Schema

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

c4 图右侧和左侧的边距必须为正值。

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

diagramMarginX Type

integer

diagramMarginX Constraints

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

diagramMarginX Default Value

The default value is:

json
50