Skip to content

Untitled number in Mermaid Config Schema

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

Deterministic seed for the fcose layout. Defaults to 1, which makes every render of the same diagram produce the same layout — required for visual regression tests to be stable. Set to 0 to opt out and use the unstubbed Math.random (the layout will still differ slightly between renders, matching pre-fix behavior). Any other number selects a different reproducible layout variant.

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

seed Type

number

seed Default Value

The default value is:

json
1
Opens in mermaid.ai