主题
Untitled boolean in Mermaid Config Schema
txt
https://mermaid.js.org/schemas/config.schema.json#/$defs/ArchitectureDiagramConfig/properties/randomize在运行布局算法之前是否随机化初始节点位置。当为 false(默认值)时,节点从确定的初始位置开始。当为 true 时,节点从随机位置开始,这可能产生不同但潜在更合理间距的布局 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.
| 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* |
randomize Type
boolean
randomize Default Value
The default value is:
json
false