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), nodes start at deterministic seed positions. When true, nodes start at random positions, which may produce varied but potentially better-spaced layouts. Note: randomize: false alone does NOT guarantee identical renders, because the underlying fcose layout still uses Math.random() internally during its constraint solver — use the seed option for full determinism.

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