Skip to content

TreeView Diagram Config Schema

txt
https://mermaid.js.org/schemas/config.schema.json#/$defs/TreeViewDiagramConfig

The object containing configurations specific for treeView diagrams.

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

TreeViewDiagramConfig Type

object (TreeView Diagram Config)

all of

TreeViewDiagramConfig Properties

PropertyTypeRequiredNullableDefined by
rowIndentnumberOptionalcannot be nullMermaid Config
paddingXnumberOptionalcannot be nullMermaid Config
paddingYnumberOptionalcannot be nullMermaid Config
lineThicknessnumberOptionalcannot be nullMermaid Config

rowIndent

Horizontal distance between rows differing by one level

rowIndent

rowIndent Type

number

rowIndent Constraints

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

rowIndent Default Value

The default value is:

json
10

paddingX

Horizontal padding of label

paddingX

paddingX Type

number

paddingX Constraints

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

paddingX Default Value

The default value is:

json
5

paddingY

Vertical padding of label

paddingY

paddingY Type

number

paddingY Constraints

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

paddingY Default Value

The default value is:

json
5

lineThickness

Thickness of the line

lineThickness

lineThickness Type

number

lineThickness Constraints

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

lineThickness Default Value

The default value is:

json
1
Opens in mermaid.ai