主题
Untitled number in Mermaid Config Schema
txt
https://mermaid.js.org/schemas/config.schema.json#/$defs/AgentflowDiagramConfig/properties/minNodeWidth节点标签区域的最小宽度。比这个宽的标签会被加宽,所以短文本的节点也会有统一的宽度;节点自身的内边距会叠加上去,就像 wrappingWidth 的情况一样。设置了明确宽度的节点不受影响。
| 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