Mermaid 配置模式中未命名的对象
txt
https://mermaid.npmjs.net.cn/schemas/config.schema.json#/$defs/FlowchartDiagramConfig/properties/subGraphTitleMargin定义子图标题的顶部/底部边距
| 抽象 | 可扩展 | 状态 | 可识别 | 自定义属性 | 附加属性 | 访问限制 | 定义于 |
|---|---|---|---|---|---|---|---|
| 可以实例化 | 否 | 未知状态 | 否 | 禁止 | 允许 | 无 | config.schema.json* |
subGraphTitleMargin 类型
object (详情)
subGraphTitleMargin 默认值
默认值为
json
{
"top": 0,
"bottom": 0
}subGraphTitleMargin 属性
| 属性 | 类型 | 必需 | 可为空 | 由以下定义 |
|---|---|---|---|---|
| top | 整数 | 可选 | 不能为 null | Mermaid 配置 |
| bottom | 整数 | 可选 | 不能为 null | Mermaid 配置 |
top
top
是可选的
类型:
整数不能为 null
定义于:Mermaid 配置
top 类型
整数
top 约束
最小值:此数字的值必须大于或等于:0
bottom
bottom
是可选的
类型:
整数不能为 null
定义于:Mermaid 配置
bottom 类型
整数
bottom 约束
最小值:此数字的值必须大于或等于:0