TreeView Diagram Config Schema
https://mermaid.js.org/schemas/config.schema.json#/$defs/TreeViewDiagramConfigThe object containing configurations specific for treeView diagrams.
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|---|---|---|---|---|---|---|---|
| Can be instantiated | No | Unknown status | No | Forbidden | Allowed | none | config.schema.json* |
TreeViewDiagramConfig Type
object (TreeView Diagram Config)
all of
TreeViewDiagramConfig Properties
| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| rowIndent | number | Optional | cannot be null | Mermaid Config |
| paddingX | number | Optional | cannot be null | Mermaid Config |
| paddingY | number | Optional | cannot be null | Mermaid Config |
| lineThickness | number | Optional | cannot be null | Mermaid Config |
rowIndent
Horizontal distance between rows differing by one level
rowIndent
is optional
Type:
numbercannot be null
defined in: Mermaid Config
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:
10paddingX
Horizontal padding of label
paddingX
is optional
Type:
numbercannot be null
defined in: Mermaid Config
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:
5paddingY
Vertical padding of label
paddingY
is optional
Type:
numbercannot be null
defined in: Mermaid Config
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:
5lineThickness
Thickness of the line
lineThickness
is optional
Type:
numbercannot be null
defined in: Mermaid Config
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:
1