Untitled number in Mermaid Config Schema
txt
https://mermaid.js.org/schemas/config.schema.json#/$defs/ArchitectureDiagramConfig/properties/seedDeterministic 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.
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|---|---|---|---|---|---|---|---|
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | config.schema.json* |
seed Type
number
seed Default Value
The default value is:
json
1