主题
TreeView Diagram Config Schema
txt
https://mermaid.js.org/schemas/config.schema.json#/$defs/TreeViewDiagramConfig包含针对 treeView 图表的特定配置的对象。
| 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
相差一级的行间水平距离
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:
json
10paddingX
标签的水平内边距
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:
json
5paddingY
标签的垂直内边距
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:
json
5lineThickness
线条的厚度
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:
json
1