Skip to content

Untitled object in Mermaid Config Schema

txt
https://mermaid.js.org/schemas/config.schema.json#/$defs/FlowchartDiagramConfig/properties/subGraphTitleMargin

定义子图标题的顶部/底部边距

AbstractExtensibleStatusIdentifiableCustom PropertiesAdditional PropertiesAccess RestrictionsDefined In
Can be instantiatedNoUnknown statusNoForbiddenAllowednoneconfig.schema.json*

subGraphTitleMargin Type

object (Details)

subGraphTitleMargin Default Value

The default value is:

json
{
  "top": 0,
  "bottom": 0
}

subGraphTitleMargin Properties

PropertyTypeRequiredNullableDefined by
topintegerOptionalcannot be nullMermaid Config
bottomintegerOptionalcannot be nullMermaid Config

top

top

top Type

integer

top Constraints

minimum: the value of this number must greater than or equal to: 0

bottom

bottom

bottom Type

integer

bottom Constraints

minimum: the value of this number must greater than or equal to: 0