主题
Untitled object in Mermaid Config Schema
txt
https://mermaid.js.org/schemas/config.schema.json#/$defs/FlowchartDiagramConfig/properties/subGraphTitleMargin定义子图标题的顶部/底部边距
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|---|---|---|---|---|---|---|---|
| Can be instantiated | No | Unknown status | No | Forbidden | Allowed | none | config.schema.json* |
subGraphTitleMargin Type
object (Details)
subGraphTitleMargin Default Value
The default value is:
json
{
"top": 0,
"bottom": 0
}subGraphTitleMargin Properties
| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| top | integer | Optional | cannot be null | Mermaid Config |
| bottom | integer | Optional | cannot be null | Mermaid Config |
top
top
is optional
Type:
integercannot be null
defined in: Mermaid Config
top Type
integer
top Constraints
minimum: the value of this number must greater than or equal to: 0
bottom
bottom
is optional
Type:
integercannot be null
defined in: Mermaid Config
bottom Type
integer
bottom Constraints
minimum: the value of this number must greater than or equal to: 0