Untitled number in Mermaid Config Schema
txt
https://mermaid.js.org/schemas/config.schema.json#/$defs/StateDiagramConfig/properties/minNodeWidthMinimum width of the label area of a node.
Labels narrower than this are widened to it, so nodes with short text get a uniform width; the node's own padding is added on top, the same way it is for wrappingWidth. Nodes with an explicit width are not affected.
| 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* |
minNodeWidth Type
number
minNodeWidth Default Value
The default value is:
json
120