Skip to content

Mindmap Diagram Config Schema

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

The object containing configurations specific for mindmap diagrams

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

MindmapDiagramConfig Type

object (Mindmap Diagram Config)

all of

MindmapDiagramConfig Properties

PropertyTypeRequiredNullableDefined by
paddingnumberRequiredcannot be nullMermaid Config
maxNodeWidthnumberRequiredcannot be nullMermaid Config
layoutAlgorithmstringRequiredcannot be nullMermaid Config

padding

padding

padding Type

number

padding Default Value

The default value is:

json
10

maxNodeWidth

maxNodeWidth

maxNodeWidth Type

number

maxNodeWidth Default Value

The default value is:

json
200

layoutAlgorithm

Layout algorithm to use for positioning mindmap nodes

layoutAlgorithm

layoutAlgorithm Type

string

layoutAlgorithm Default Value

The default value is:

json
"cose-bilkent"
Opens in mermaid.ai