Skip to content

Grid Placement Schema ​

txt
https://mermaid.js.org/schemas/config.schema.json#/$defs/GridPlacement
AbstractExtensibleStatusIdentifiableCustom PropertiesAdditional PropertiesAccess RestrictionsDefined In
Can be instantiatedNoUnknown statusNoForbiddenForbiddennoneconfig.schema.json*

GridPlacement Type ​

object (Grid Placement)

GridPlacement Properties ​

PropertyTypeRequiredNullableDefined by
rowintegerOptionalcannot be nullMermaid Config
columnintegerOptionalcannot be nullMermaid Config
horizontalAlignstringOptionalcannot be nullMermaid Config
verticalAlignstringOptionalcannot be nullMermaid Config

row ​

Safe integer row number local to the item's direct parent grid, including zero and negative values.

row

row Type ​

integer

row Constraints ​

maximum: the value of this number must smaller than or equal to: 9007199254740991

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

column ​

Safe integer column number local to the item's direct parent grid, including zero and negative values.

column

column Type ​

integer

column Constraints ​

maximum: the value of this number must smaller than or equal to: 9007199254740991

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

horizontalAlign ​

Horizontal alignment for items within a grid cell.

horizontalAlign

horizontalAlign Type ​

string

horizontalAlign Constraints ​

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

ValueExplanation
"left"
"center"
"right"

verticalAlign ​

Vertical alignment for items or stacks within a grid cell.

verticalAlign

verticalAlign Type ​

string

verticalAlign Constraints ​

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

ValueExplanation
"top"
"center"
"bottom"
Opens in mermaid.ai