Skip to content

TreeView Diagram Config Schema

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

包含针对 treeView 图表的特定配置的对象。

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

相差一级的行间水平距离

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

标签的水平内边距

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

标签的垂直内边距

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

线条的厚度

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