Skip to content

Untitled boolean in Mermaid Config Schema

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

Whether to randomize initial node positions before running the layout algorithm. When false (default), the layout is deterministic and produces identical results on every render. When true, nodes start at random positions, which may produce varied but potentially better-spaced layouts.

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

randomize Type

boolean

randomize Default Value

The default value is:

json
false
Opens in mermaid.ai