主题
Mindmap Diagram Config Schema
txt
https://mermaid.js.org/schemas/config.schema.json#/$defs/MindmapDiagramConfig包含特定于思维导图的配置的对象
| 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* |
MindmapDiagramConfig Type
object (Mindmap Diagram Config)
all of
MindmapDiagramConfig Properties
| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| padding | number | Required | cannot be null | Mermaid Config |
| maxNodeWidth | number | Required | cannot be null | Mermaid Config |
| layoutAlgorithm | string | Required | cannot be null | Mermaid Config |
padding
padding
is required
Type:
numbercannot be null
defined in: Mermaid Config
padding Type
number
padding Default Value
The default value is:
json
10maxNodeWidth
maxNodeWidth
is required
Type:
numbercannot be null
defined in: Mermaid Config
maxNodeWidth Type
number
maxNodeWidth Default Value
The default value is:
json
200layoutAlgorithm
用于定位思维导图节点的布局算法
layoutAlgorithm
is required
Type:
stringcannot be null
defined in: Mermaid Config
layoutAlgorithm Type
string
layoutAlgorithm Default Value
The default value is:
json
"cose-bilkent"