Skip to content

Untitled integer in Mermaid Config Schema

txt
https://mermaid.js.org/schemas/config.schema.json#/$defs/AgentflowDiagramConfig/properties/nodeSpacing

定义同一层节点之间的间距。对于 TB(从上到下)或 BT(从下到上)的图,指水平间距;对于 LR 以及 RL 的图,则指垂直间距。

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

nodeSpacing Type

integer

nodeSpacing Constraints

minimum: the value of this number must greater than or equal to: 0

nodeSpacing Default Value

The default value is:

json
50
Opens in mermaid.ai