Skip to content

Untitled string in Mermaid Config Schema ​

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

Horizontal alignment for items within a grid cell.

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

horizontalAlign Type ​

string

horizontalAlign Constraints ​

enum: the value of this property must be equal to one of the following values:

ValueExplanation
"left"
"center"
"right"

horizontalAlign Default Value ​

The default value is:

json
"center"
Opens in mermaid.ai