Skip to content

C4 Diagram Config Schema

txt
https://mermaid.js.org/schemas/config.schema.json#/$defs/C4DiagramConfig

包含特定于 c4 图的配置的对象

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

C4DiagramConfig Type

object (C4 Diagram Config)

all of

C4DiagramConfig Properties

PropertyTypeRequiredNullableDefined by
diagramMarginXintegerRequiredcannot be nullMermaid Config
diagramMarginYintegerRequiredcannot be nullMermaid Config
c4ShapeMarginintegerRequiredcannot be nullMermaid Config
c4ShapePaddingintegerRequiredcannot be nullMermaid Config
widthintegerRequiredcannot be nullMermaid Config
heightintegerRequiredcannot be nullMermaid Config
boxMarginintegerRequiredcannot be nullMermaid Config
c4ShapeInRowintegerRequiredcannot be nullMermaid Config
nextLinePaddingXnumberOptionalcannot be nullMermaid Config
c4BoundaryInRowintegerRequiredcannot be nullMermaid Config
personFontSizeMultipleOptionalcannot be nullMermaid Config
personFontFamilystringOptionalcannot be nullMermaid Config
personFontWeightMultipleOptionalcannot be nullMermaid Config
external_personFontSizeMultipleOptionalcannot be nullMermaid Config
external_personFontFamilystringOptionalcannot be nullMermaid Config
external_personFontWeightMultipleOptionalcannot be nullMermaid Config
systemFontSizeMultipleOptionalcannot be nullMermaid Config
systemFontFamilystringOptionalcannot be nullMermaid Config
systemFontWeightMultipleOptionalcannot be nullMermaid Config
external_systemFontSizeMultipleOptionalcannot be nullMermaid Config
external_systemFontFamilystringOptionalcannot be nullMermaid Config
external_systemFontWeightMultipleOptionalcannot be nullMermaid Config
system_dbFontSizeMultipleOptionalcannot be nullMermaid Config
system_dbFontFamilystringOptionalcannot be nullMermaid Config
system_dbFontWeightMultipleOptionalcannot be nullMermaid Config
external_system_dbFontSizeMultipleOptionalcannot be nullMermaid Config
external_system_dbFontFamilystringOptionalcannot be nullMermaid Config
external_system_dbFontWeightMultipleOptionalcannot be nullMermaid Config
system_queueFontSizeMultipleOptionalcannot be nullMermaid Config
system_queueFontFamilystringOptionalcannot be nullMermaid Config
system_queueFontWeightMultipleOptionalcannot be nullMermaid Config
external_system_queueFontSizeMultipleOptionalcannot be nullMermaid Config
external_system_queueFontFamilystringOptionalcannot be nullMermaid Config
external_system_queueFontWeightMultipleOptionalcannot be nullMermaid Config
boundaryFontSizeMultipleOptionalcannot be nullMermaid Config
boundaryFontFamilystringOptionalcannot be nullMermaid Config
boundaryFontWeightMultipleOptionalcannot be nullMermaid Config
messageFontSizeMultipleOptionalcannot be nullMermaid Config
messageFontFamilystringOptionalcannot be nullMermaid Config
messageFontWeightMultipleOptionalcannot be nullMermaid Config
containerFontSizeMultipleOptionalcannot be nullMermaid Config
containerFontFamilystringOptionalcannot be nullMermaid Config
containerFontWeightMultipleOptionalcannot be nullMermaid Config
external_containerFontSizeMultipleOptionalcannot be nullMermaid Config
external_containerFontFamilystringOptionalcannot be nullMermaid Config
external_containerFontWeightMultipleOptionalcannot be nullMermaid Config
container_dbFontSizeMultipleOptionalcannot be nullMermaid Config
container_dbFontFamilystringOptionalcannot be nullMermaid Config
container_dbFontWeightMultipleOptionalcannot be nullMermaid Config
external_container_dbFontSizeMultipleOptionalcannot be nullMermaid Config
external_container_dbFontFamilystringOptionalcannot be nullMermaid Config
external_container_dbFontWeightMultipleOptionalcannot be nullMermaid Config
container_queueFontSizeMultipleOptionalcannot be nullMermaid Config
container_queueFontFamilystringOptionalcannot be nullMermaid Config
container_queueFontWeightMultipleOptionalcannot be nullMermaid Config
external_container_queueFontSizeMultipleOptionalcannot be nullMermaid Config
external_container_queueFontFamilystringOptionalcannot be nullMermaid Config
external_container_queueFontWeightMultipleOptionalcannot be nullMermaid Config
componentFontSizeMultipleOptionalcannot be nullMermaid Config
componentFontFamilystringOptionalcannot be nullMermaid Config
componentFontWeightMultipleOptionalcannot be nullMermaid Config
external_componentFontSizeMultipleOptionalcannot be nullMermaid Config
external_componentFontFamilystringOptionalcannot be nullMermaid Config
external_componentFontWeightMultipleOptionalcannot be nullMermaid Config
component_dbFontSizeMultipleOptionalcannot be nullMermaid Config
component_dbFontFamilystringOptionalcannot be nullMermaid Config
component_dbFontWeightMultipleOptionalcannot be nullMermaid Config
external_component_dbFontSizeMultipleOptionalcannot be nullMermaid Config
external_component_dbFontFamilystringOptionalcannot be nullMermaid Config
external_component_dbFontWeightMultipleOptionalcannot be nullMermaid Config
component_queueFontSizeMultipleOptionalcannot be nullMermaid Config
component_queueFontFamilystringOptionalcannot be nullMermaid Config
component_queueFontWeightMultipleOptionalcannot be nullMermaid Config
external_component_queueFontSizeMultipleOptionalcannot be nullMermaid Config
external_component_queueFontFamilystringOptionalcannot be nullMermaid Config
external_component_queueFontWeightMultipleOptionalcannot be nullMermaid Config
wrapbooleanOptionalcannot be nullMermaid Config
wrapPaddingnumberOptionalcannot be nullMermaid Config
person_bg_colorstringOptionalcannot be nullMermaid Config
person_border_colorstringOptionalcannot be nullMermaid Config
external_person_bg_colorstringOptionalcannot be nullMermaid Config
external_person_border_colorstringOptionalcannot be nullMermaid Config
system_bg_colorstringOptionalcannot be nullMermaid Config
system_border_colorstringOptionalcannot be nullMermaid Config
system_db_bg_colorstringOptionalcannot be nullMermaid Config
system_db_border_colorstringOptionalcannot be nullMermaid Config
system_queue_bg_colorstringOptionalcannot be nullMermaid Config
system_queue_border_colorstringOptionalcannot be nullMermaid Config
external_system_bg_colorstringOptionalcannot be nullMermaid Config
external_system_border_colorstringOptionalcannot be nullMermaid Config
external_system_db_bg_colorstringOptionalcannot be nullMermaid Config
external_system_db_border_colorstringOptionalcannot be nullMermaid Config
external_system_queue_bg_colorstringOptionalcannot be nullMermaid Config
external_system_queue_border_colorstringOptionalcannot be nullMermaid Config
container_bg_colorstringOptionalcannot be nullMermaid Config
container_border_colorstringOptionalcannot be nullMermaid Config
container_db_bg_colorstringOptionalcannot be nullMermaid Config
container_db_border_colorstringOptionalcannot be nullMermaid Config
container_queue_bg_colorstringOptionalcannot be nullMermaid Config
container_queue_border_colorstringOptionalcannot be nullMermaid Config
external_container_bg_colorstringOptionalcannot be nullMermaid Config
external_container_border_colorstringOptionalcannot be nullMermaid Config
external_container_db_bg_colorstringOptionalcannot be nullMermaid Config
external_container_db_border_colorstringOptionalcannot be nullMermaid Config
external_container_queue_bg_colorstringOptionalcannot be nullMermaid Config
external_container_queue_border_colorstringOptionalcannot be nullMermaid Config
component_bg_colorstringOptionalcannot be nullMermaid Config
component_border_colorstringOptionalcannot be nullMermaid Config
component_db_bg_colorstringOptionalcannot be nullMermaid Config
component_db_border_colorstringOptionalcannot be nullMermaid Config
component_queue_bg_colorstringOptionalcannot be nullMermaid Config
component_queue_border_colorstringOptionalcannot be nullMermaid Config
external_component_bg_colorstringOptionalcannot be nullMermaid Config
external_component_border_colorstringOptionalcannot be nullMermaid Config
external_component_db_bg_colorstringOptionalcannot be nullMermaid Config
external_component_db_border_colorstringOptionalcannot be nullMermaid Config
external_component_queue_bg_colorstringOptionalcannot be nullMermaid Config
external_component_queue_border_colorstringOptionalcannot be nullMermaid Config
personFontNot specifiedOptionalcannot be nullMermaid Config
external_personFontNot specifiedOptionalcannot be nullMermaid Config
systemFontNot specifiedOptionalcannot be nullMermaid Config
external_systemFontNot specifiedOptionalcannot be nullMermaid Config
system_dbFontNot specifiedOptionalcannot be nullMermaid Config
external_system_dbFontNot specifiedOptionalcannot be nullMermaid Config
system_queueFontNot specifiedOptionalcannot be nullMermaid Config
external_system_queueFontNot specifiedOptionalcannot be nullMermaid Config
containerFontNot specifiedOptionalcannot be nullMermaid Config
external_containerFontNot specifiedOptionalcannot be nullMermaid Config
container_dbFontNot specifiedOptionalcannot be nullMermaid Config
external_container_dbFontNot specifiedOptionalcannot be nullMermaid Config
container_queueFontNot specifiedOptionalcannot be nullMermaid Config
external_container_queueFontNot specifiedOptionalcannot be nullMermaid Config
componentFontNot specifiedOptionalcannot be nullMermaid Config
external_componentFontNot specifiedOptionalcannot be nullMermaid Config
component_dbFontNot specifiedOptionalcannot be nullMermaid Config
external_component_dbFontNot specifiedOptionalcannot be nullMermaid Config
component_queueFontNot specifiedOptionalcannot be nullMermaid Config
external_component_queueFontNot specifiedOptionalcannot be nullMermaid Config
boundaryFontNot specifiedOptionalcannot be nullMermaid Config
messageFontNot specifiedOptionalcannot be nullMermaid Config

diagramMarginX

c4 图右侧和左侧的边距必须为正值。

diagramMarginX

diagramMarginX Type

integer

diagramMarginX Constraints

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

diagramMarginX Default Value

The default value is:

json
50

diagramMarginY

c4 图上方和下方的边距必须为正值。

diagramMarginY

diagramMarginY Type

integer

diagramMarginY Constraints

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

diagramMarginY Default Value

The default value is:

json
10

c4ShapeMargin

形状之间的边距

c4ShapeMargin

c4ShapeMargin Type

integer

c4ShapeMargin Constraints

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

c4ShapeMargin Default Value

The default value is:

json
50

c4ShapePadding

形状之间的填充

c4ShapePadding

c4ShapePadding Type

integer

c4ShapePadding Constraints

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

c4ShapePadding Default Value

The default value is:

json
20

width

人物框的宽度

width

width Type

integer

width Constraints

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

width Default Value

The default value is:

json
216

height

人物框的高度

height

height Type

integer

height Constraints

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

height Default Value

The default value is:

json
60

boxMargin

框周围的边距

boxMargin

boxMargin Type

integer

boxMargin Constraints

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

boxMargin Default Value

The default value is:

json
10

c4ShapeInRow

每行要放置多少个形状。

c4ShapeInRow

c4ShapeInRow Type

integer

c4ShapeInRow Constraints

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

c4ShapeInRow Default Value

The default value is:

json
4

nextLinePaddingX

nextLinePaddingX

nextLinePaddingX Type

number

c4BoundaryInRow

每行要放置多少个边界。

c4BoundaryInRow

c4BoundaryInRow Type

integer

c4BoundaryInRow Constraints

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

c4BoundaryInRow Default Value

The default value is:

json
2

personFontSize

这设置了图表的人员形状的字体大小

personFontSize

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

personFontSize Type

any of the following: string or number (Details)

personFontSize Default Value

The default value is:

json
14

personFontFamily

这设置了图表的人员形状的字体粗细

personFontFamily

personFontFamily Type

string

personFontFamily Default Value

The default value is:

json
"\"Open Sans\", sans-serif"

personFontWeight

这设置了图表的人员形状的字体粗细

personFontWeight

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

personFontWeight Type

any of the following: string or number (Details)

personFontWeight Default Value

The default value is:

json
"normal"

external_personFontSize

这设置了图表的外部人员形状的字体大小

external_personFontSize

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

external_personFontSize Type

any of the following: string or number (Details)

external_personFontSize Default Value

The default value is:

json
14

external_personFontFamily

这设置了图表的外部人员形状的字体系列

external_personFontFamily

external_personFontFamily Type

string

external_personFontFamily Default Value

The default value is:

json
"\"Open Sans\", sans-serif"

external_personFontWeight

设置图表的外部人员形状的字体粗细

external_personFontWeight

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

external_personFontWeight Type

any of the following: string or number (Details)

external_personFontWeight Default Value

The default value is:

json
"normal"

systemFontSize

这设置了图表的系统形状的字体大小

systemFontSize

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

systemFontSize Type

any of the following: string or number (Details)

systemFontSize Default Value

The default value is:

json
14

systemFontFamily

这设置了图表的系统形状的字体系列

systemFontFamily

systemFontFamily Type

string

systemFontFamily Default Value

The default value is:

json
"\"Open Sans\", sans-serif"

systemFontWeight

这设置了图表的系统形状的字体粗细

systemFontWeight

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

systemFontWeight Type

any of the following: string or number (Details)

systemFontWeight Default Value

The default value is:

json
"normal"

external_systemFontSize

这设置了图表的外部系统形状的字体大小

external_systemFontSize

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

external_systemFontSize Type

any of the following: string or number (Details)

external_systemFontSize Default Value

The default value is:

json
14

external_systemFontFamily

这设置了图表的外部系统形状的字体系列

external_systemFontFamily

external_systemFontFamily Type

string

external_systemFontFamily Default Value

The default value is:

json
"\"Open Sans\", sans-serif"

external_systemFontWeight

这设置了图表的外部系统形状的字体粗细

external_systemFontWeight

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

external_systemFontWeight Type

any of the following: string or number (Details)

external_systemFontWeight Default Value

The default value is:

json
"normal"

system_dbFontSize

这设置了图表的系统数据库形状的字体大小

system_dbFontSize

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

system_dbFontSize Type

any of the following: string or number (Details)

system_dbFontSize Default Value

The default value is:

json
14

system_dbFontFamily

这设置了图表的系统 DB 形状的字体系列

system_dbFontFamily

system_dbFontFamily Type

string

system_dbFontFamily Default Value

The default value is:

json
"\"Open Sans\", sans-serif"

system_dbFontWeight

这设置了图表的系统数据库形状的字体粗细

system_dbFontWeight

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

system_dbFontWeight Type

any of the following: string or number (Details)

system_dbFontWeight Default Value

The default value is:

json
"normal"

external_system_dbFontSize

这设置了图表的外部系统数据库形状的字体大小图表

external_system_dbFontSize

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

external_system_dbFontSize Type

any of the following: string or number (Details)

external_system_dbFontSize Default Value

The default value is:

json
14

external_system_dbFontFamily

这设置了图表的外部系统 DB 形状的字体系列

external_system_dbFontFamily

external_system_dbFontFamily Type

string

external_system_dbFontFamily Default Value

The default value is:

json
"\"Open Sans\", sans-serif"

external_system_dbFontWeight

设置图表的外部系统数据库形状的字体粗细

external_system_dbFontWeight

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

external_system_dbFontWeight Type

any of the following: string or number (Details)

external_system_dbFontWeight Default Value

The default value is:

json
"normal"

system_queueFontSize

这设置了图表的系统队列形状的字体大小

system_queueFontSize

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

system_queueFontSize Type

any of the following: string or number (Details)

system_queueFontSize Default Value

The default value is:

json
14

system_queueFontFamily

这设置了图表的系统队列形状的字体系列

system_queueFontFamily

system_queueFontFamily Type

string

system_queueFontFamily Default Value

The default value is:

json
"\"Open Sans\", sans-serif"

system_queueFontWeight

这设置了图表的系统队列形状的字体粗细

system_queueFontWeight

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

system_queueFontWeight Type

any of the following: string or number (Details)

system_queueFontWeight Default Value

The default value is:

json
"normal"

external_system_queueFontSize

这设置了图表的外部系统队列形状的字体大小

external_system_queueFontSize

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

external_system_queueFontSize Type

any of the following: string or number (Details)

external_system_queueFontSize Default Value

The default value is:

json
14

external_system_queueFontFamily

这设置了图表的外部系统队列形状的字体系列

external_system_queueFontFamily

external_system_queueFontFamily Type

string

external_system_queueFontFamily Default Value

The default value is:

json
"\"Open Sans\", sans-serif"

external_system_queueFontWeight

设置图表的外部系统队列形状的字体粗细图表

external_system_queueFontWeight

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

external_system_queueFontWeight Type

any of the following: string or number (Details)

external_system_queueFontWeight Default Value

The default value is:

json
"normal"

boundaryFontSize

这将设置图表的边界形状的字体大小

boundaryFontSize

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

boundaryFontSize Type

any of the following: string or number (Details)

boundaryFontSize Default Value

The default value is:

json
14

boundaryFontFamily

设置图表的边界形状的字体系列

boundaryFontFamily

boundaryFontFamily Type

string

boundaryFontFamily Default Value

The default value is:

json
"\"Open Sans\", sans-serif"

boundaryFontWeight

这设置了图表的边界形状的字体粗细

boundaryFontWeight

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

boundaryFontWeight Type

any of the following: string or number (Details)

boundaryFontWeight Default Value

The default value is:

json
"normal"

messageFontSize

这设置了图表的消息形状的字体大小

messageFontSize

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

messageFontSize Type

any of the following: string or number (Details)

messageFontSize Default Value

The default value is:

json
12

messageFontFamily

这设置了图表的消息形状的字体系列

messageFontFamily

messageFontFamily Type

string

messageFontFamily Default Value

The default value is:

json
"\"Open Sans\", sans-serif"

messageFontWeight

这设置了图表的消息形状的字体粗细

messageFontWeight

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

messageFontWeight Type

any of the following: string or number (Details)

messageFontWeight Default Value

The default value is:

json
"normal"

containerFontSize

这设置了图表的容器形状的字体大小

containerFontSize

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

containerFontSize Type

any of the following: string or number (Details)

containerFontSize Default Value

The default value is:

json
14

containerFontFamily

设置图表的容器形状的字体系列

containerFontFamily

containerFontFamily Type

string

containerFontFamily Default Value

The default value is:

json
"\"Open Sans\", sans-serif"

containerFontWeight

设置图表的容器形状的字体粗细

containerFontWeight

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

containerFontWeight Type

any of the following: string or number (Details)

containerFontWeight Default Value

The default value is:

json
"normal"

external_containerFontSize

这设置了图表的外部容器形状的字体大小

external_containerFontSize

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

external_containerFontSize Type

any of the following: string or number (Details)

external_containerFontSize Default Value

The default value is:

json
14

external_containerFontFamily

这设置了图表的外部容器形状的字体系列

external_containerFontFamily

external_containerFontFamily Type

string

external_containerFontFamily Default Value

The default value is:

json
"\"Open Sans\", sans-serif"

external_containerFontWeight

设置图表的外部容器形状的字体粗细

external_containerFontWeight

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

external_containerFontWeight Type

any of the following: string or number (Details)

external_containerFontWeight Default Value

The default value is:

json
"normal"

container_dbFontSize

这设置了图表的容器数据库形状的字体大小

container_dbFontSize

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

container_dbFontSize Type

any of the following: string or number (Details)

container_dbFontSize Default Value

The default value is:

json
14

container_dbFontFamily

设置图表的容器 DB 形状的字体系列

container_dbFontFamily

container_dbFontFamily Type

string

container_dbFontFamily Default Value

The default value is:

json
"\"Open Sans\", sans-serif"

container_dbFontWeight

设置图表的容器数据库形状的字体粗细

container_dbFontWeight

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

container_dbFontWeight Type

any of the following: string or number (Details)

container_dbFontWeight Default Value

The default value is:

json
"normal"

external_container_dbFontSize

这设置了图表的外部容器数据库形状的字体大小

external_container_dbFontSize

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

external_container_dbFontSize Type

any of the following: string or number (Details)

external_container_dbFontSize Default Value

The default value is:

json
14

external_container_dbFontFamily

设置外部容器的字体系列图表的 DB 形状

external_container_dbFontFamily

external_container_dbFontFamily Type

string

external_container_dbFontFamily Default Value

The default value is:

json
"\"Open Sans\", sans-serif"

external_container_dbFontWeight

设置图表的外部容器数据库形状的字体粗细

external_container_dbFontWeight

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

external_container_dbFontWeight Type

any of the following: string or number (Details)

external_container_dbFontWeight Default Value

The default value is:

json
"normal"

container_queueFontSize

这设置了图表的容器队列形状的字体大小

container_queueFontSize

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

container_queueFontSize Type

any of the following: string or number (Details)

container_queueFontSize Default Value

The default value is:

json
14

container_queueFontFamily

设置图表的容器队列形状的字体系列

container_queueFontFamily

container_queueFontFamily Type

string

container_queueFontFamily Default Value

The default value is:

json
"\"Open Sans\", sans-serif"

container_queueFontWeight

设置图表的容器队列形状的字体粗细

container_queueFontWeight

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

container_queueFontWeight Type

any of the following: string or number (Details)

container_queueFontWeight Default Value

The default value is:

json
"normal"

external_container_queueFontSize

这设置了图表的外部容器队列形状的字体大小

external_container_queueFontSize

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

external_container_queueFontSize Type

any of the following: string or number (Details)

external_container_queueFontSize Default Value

The default value is:

json
14

external_container_queueFontFamily

这设置了图表的外部容器队列形状的字体系列

external_container_queueFontFamily

external_container_queueFontFamily Type

string

external_container_queueFontFamily Default Value

The default value is:

json
"\"Open Sans\", sans-serif"

external_container_queueFontWeight

设置图表的外部容器队列形状的字体粗细

external_container_queueFontWeight

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

external_container_queueFontWeight Type

any of the following: string or number (Details)

external_container_queueFontWeight Default Value

The default value is:

json
"normal"

componentFontSize

这设置了图表的组件形状的字体大小

componentFontSize

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

componentFontSize Type

any of the following: string or number (Details)

componentFontSize Default Value

The default value is:

json
14

componentFontFamily

设置图表的组件形状的字体系列

componentFontFamily

componentFontFamily Type

string

componentFontFamily Default Value

The default value is:

json
"\"Open Sans\", sans-serif"

componentFontWeight

这设置了图表的组件形状

componentFontWeight

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

componentFontWeight Type

any of the following: string or number (Details)

componentFontWeight Default Value

The default value is:

json
"normal"

external_componentFontSize

这设置了图表的外部组件形状的字体大小

external_componentFontSize

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

external_componentFontSize Type

any of the following: string or number (Details)

external_componentFontSize Default Value

The default value is:

json
14

external_componentFontFamily

设置图表的外部组件形状的字体系列

external_componentFontFamily

external_componentFontFamily Type

string

external_componentFontFamily Default Value

The default value is:

json
"\"Open Sans\", sans-serif"

external_componentFontWeight

设置图表的外部组件形状的字体粗细

external_componentFontWeight

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

external_componentFontWeight Type

any of the following: string or number (Details)

external_componentFontWeight Default Value

The default value is:

json
"normal"

component_dbFontSize

这将设置图表的组件 DB 形状的字体大小

component_dbFontSize

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

component_dbFontSize Type

any of the following: string or number (Details)

component_dbFontSize Default Value

The default value is:

json
14

component_dbFontFamily

设置图表的组件 DB 形状的字体系列

component_dbFontFamily

component_dbFontFamily Type

string

component_dbFontFamily Default Value

The default value is:

json
"\"Open Sans\", sans-serif"

component_dbFontWeight

这设置了图表的组件数据库形状的字体粗细

component_dbFontWeight

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

component_dbFontWeight Type

any of the following: string or number (Details)

component_dbFontWeight Default Value

The default value is:

json
"normal"

external_component_dbFontSize

这设置了图表的外部组件数据库形状的字体大小

external_component_dbFontSize

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

external_component_dbFontSize Type

any of the following: string or number (Details)

external_component_dbFontSize Default Value

The default value is:

json
14

external_component_dbFontFamily

设置图表的外部组件 DB 形状的字体系列

external_component_dbFontFamily

external_component_dbFontFamily Type

string

external_component_dbFontFamily Default Value

The default value is:

json
"\"Open Sans\", sans-serif"

external_component_dbFontWeight

设置图表的外部组件数据库形状的字体粗细

external_component_dbFontWeight

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

external_component_dbFontWeight Type

any of the following: string or number (Details)

external_component_dbFontWeight Default Value

The default value is:

json
"normal"

component_queueFontSize

这设置了图表的组件队列形状的字体大小

component_queueFontSize

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

component_queueFontSize Type

any of the following: string or number (Details)

component_queueFontSize Default Value

The default value is:

json
14

component_queueFontFamily

设置图表的组件队列形状的字体系列

component_queueFontFamily

component_queueFontFamily Type

string

component_queueFontFamily Default Value

The default value is:

json
"\"Open Sans\", sans-serif"

component_queueFontWeight

这设置了图表的组件队列形状的字体粗细

component_queueFontWeight

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

component_queueFontWeight Type

any of the following: string or number (Details)

component_queueFontWeight Default Value

The default value is:

json
"normal"

external_component_queueFontSize

这设置了图表的外部组件队列形状的字体大小

external_component_queueFontSize

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

external_component_queueFontSize Type

any of the following: string or number (Details)

external_component_queueFontSize Default Value

The default value is:

json
14

external_component_queueFontFamily

设置图表的外部组件队列形状的字体系列

external_component_queueFontFamily

external_component_queueFontFamily Type

string

external_component_queueFontFamily Default Value

The default value is:

json
"\"Open Sans\", sans-serif"

external_component_queueFontWeight

设置图表的外部组件队列形状的字体粗细

external_component_queueFontWeight

  • is optional

  • Type: any of the following: string or number (Details)

  • cannot be null

  • defined in: Mermaid Config

external_component_queueFontWeight Type

any of the following: string or number (Details)

external_component_queueFontWeight Default Value

The default value is:

json
"normal"

wrap

设置图表的自动换行状态

wrap

wrap Type

boolean

wrap Default Value

The default value is:

json
true

wrapPadding

设置图表的自动换行填充(仅限侧面)

wrapPadding

wrapPadding Type

number

wrapPadding Default Value

The default value is:

json
10

person_bg_color

person_bg_color

person_bg_color Type

string

person_bg_color Default Value

The default value is:

json
"#08427B"

person_border_color

person_border_color

person_border_color Type

string

person_border_color Default Value

The default value is:

json
"#073B6F"

external_person_bg_color

external_person_bg_color

external_person_bg_color Type

string

external_person_bg_color Default Value

The default value is:

json
"#686868"

external_person_border_color

external_person_border_color

external_person_border_color Type

string

external_person_border_color Default Value

The default value is:

json
"#8A8A8A"

system_bg_color

system_bg_color

system_bg_color Type

string

system_bg_color Default Value

The default value is:

json
"#1168BD"

system_border_color

system_border_color

system_border_color Type

string

system_border_color Default Value

The default value is:

json
"#3C7FC0"

system_db_bg_color

system_db_bg_color

system_db_bg_color Type

string

system_db_bg_color Default Value

The default value is:

json
"#1168BD"

system_db_border_color

system_db_border_color

system_db_border_color Type

string

system_db_border_color Default Value

The default value is:

json
"#3C7FC0"

system_queue_bg_color

system_queue_bg_color

system_queue_bg_color Type

string

system_queue_bg_color Default Value

The default value is:

json
"#1168BD"

system_queue_border_color

system_queue_border_color

system_queue_border_color Type

string

system_queue_border_color Default Value

The default value is:

json
"#3C7FC0"

external_system_bg_color

external_system_bg_color

external_system_bg_color Type

string

external_system_bg_color Default Value

The default value is:

json
"#999999"

external_system_border_color

external_system_border_color

external_system_border_color Type

string

external_system_border_color Default Value

The default value is:

json
"#8A8A8A"

external_system_db_bg_color

external_system_db_bg_color

external_system_db_bg_color Type

string

external_system_db_bg_color Default Value

The default value is:

json
"#999999"

external_system_db_border_color

external_system_db_border_color

external_system_db_border_color Type

string

external_system_db_border_color Default Value

The default value is:

json
"#8A8A8A"

external_system_queue_bg_color

external_system_queue_bg_color

external_system_queue_bg_color Type

string

external_system_queue_bg_color Default Value

The default value is:

json
"#999999"

external_system_queue_border_color

external_system_queue_border_color

external_system_queue_border_color Type

string

external_system_queue_border_color Default Value

The default value is:

json
"#8A8A8A"

container_bg_color

container_bg_color

container_bg_color Type

string

container_bg_color Default Value

The default value is:

json
"#438DD5"

container_border_color

container_border_color

container_border_color Type

string

container_border_color Default Value

The default value is:

json
"#3C7FC0"

container_db_bg_color

container_db_bg_color

container_db_bg_color Type

string

container_db_bg_color Default Value

The default value is:

json
"#438DD5"

container_db_border_color

container_db_border_color

container_db_border_color Type

string

container_db_border_color Default Value

The default value is:

json
"#3C7FC0"

container_queue_bg_color

container_queue_bg_color

container_queue_bg_color Type

string

container_queue_bg_color Default Value

The default value is:

json
"#438DD5"

container_queue_border_color

container_queue_border_color

container_queue_border_color Type

string

container_queue_border_color Default Value

The default value is:

json
"#3C7FC0"

external_container_bg_color

external_container_bg_color

external_container_bg_color Type

string

external_container_bg_color Default Value

The default value is:

json
"#B3B3B3"

external_container_border_color

external_container_border_color

external_container_border_color Type

string

external_container_border_color Default Value

The default value is:

json
"#A6A6A6"

external_container_db_bg_color

external_container_db_bg_color

external_container_db_bg_color Type

string

external_container_db_bg_color Default Value

The default value is:

json
"#B3B3B3"

external_container_db_border_color

external_container_db_border_color

external_container_db_border_color Type

string

external_container_db_border_color Default Value

The default value is:

json
"#A6A6A6"

external_container_queue_bg_color

external_container_queue_bg_color

external_container_queue_bg_color Type

string

external_container_queue_bg_color Default Value

The default value is:

json
"#B3B3B3"

external_container_queue_border_color

external_container_queue_border_color

external_container_queue_border_color Type

string

external_container_queue_border_color Default Value

The default value is:

json
"#A6A6A6"

component_bg_color

component_bg_color

component_bg_color Type

string

component_bg_color Default Value

The default value is:

json
"#85BBF0"

component_border_color

component_border_color

component_border_color Type

string

component_border_color Default Value

The default value is:

json
"#78A8D8"

component_db_bg_color

component_db_bg_color

component_db_bg_color Type

string

component_db_bg_color Default Value

The default value is:

json
"#85BBF0"

component_db_border_color

component_db_border_color

component_db_border_color Type

string

component_db_border_color Default Value

The default value is:

json
"#78A8D8"

component_queue_bg_color

component_queue_bg_color

component_queue_bg_color Type

string

component_queue_bg_color Default Value

The default value is:

json
"#85BBF0"

component_queue_border_color

component_queue_border_color

component_queue_border_color Type

string

component_queue_border_color Default Value

The default value is:

json
"#78A8D8"

external_component_bg_color

external_component_bg_color

external_component_bg_color Type

string

external_component_bg_color Default Value

The default value is:

json
"#CCCCCC"

external_component_border_color

external_component_border_color

external_component_border_color Type

string

external_component_border_color Default Value

The default value is:

json
"#BFBFBF"

external_component_db_bg_color

external_component_db_bg_color

external_component_db_bg_color Type

string

external_component_db_bg_color Default Value

The default value is:

json
"#CCCCCC"

external_component_db_border_color

external_component_db_border_color

external_component_db_border_color Type

string

external_component_db_border_color Default Value

The default value is:

json
"#BFBFBF"

external_component_queue_bg_color

external_component_queue_bg_color

external_component_queue_bg_color Type

string

external_component_queue_bg_color Default Value

The default value is:

json
"#CCCCCC"

external_component_queue_border_color

external_component_queue_border_color

external_component_queue_border_color Type

string

external_component_queue_border_color Default Value

The default value is:

json
"#BFBFBF"

personFont

返回 FontConfig 的 JavaScript 函数。默认情况下,这些函数返回适当的 *FontSize*FontFamily*FontWeight 值。

For example, the font calculator called boundaryFont might be defined as:

javascript
boundaryFont: function () {
  return {
    fontFamily: this.boundaryFontFamily,
    fontSize: this.boundaryFontSize,
    fontWeight: this.boundaryFontWeight,
  };
}

personFont

personFont Type

unknown (Font Calculator)

external_personFont

返回 FontConfig 的 JavaScript 函数。默认情况下,这些函数返回适当的 *FontSize*FontFamily*FontWeight 值。

For example, the font calculator called boundaryFont might be defined as:

javascript
boundaryFont: function () {
  return {
    fontFamily: this.boundaryFontFamily,
    fontSize: this.boundaryFontSize,
    fontWeight: this.boundaryFontWeight,
  };
}

external_personFont

external_personFont Type

unknown (Font Calculator)

systemFont

返回 FontConfig 的 JavaScript 函数。默认情况下,这些函数返回适当的 *FontSize*FontFamily*FontWeight 值。

For example, the font calculator called boundaryFont might be defined as:

javascript
boundaryFont: function () {
  return {
    fontFamily: this.boundaryFontFamily,
    fontSize: this.boundaryFontSize,
    fontWeight: this.boundaryFontWeight,
  };
}

systemFont

systemFont Type

unknown (Font Calculator)

external_systemFont

返回 FontConfig 的 JavaScript 函数。默认情况下,这些函数返回适当的 *FontSize*FontFamily*FontWeight 值。

For example, the font calculator called boundaryFont might be defined as:

javascript
boundaryFont: function () {
  return {
    fontFamily: this.boundaryFontFamily,
    fontSize: this.boundaryFontSize,
    fontWeight: this.boundaryFontWeight,
  };
}

external_systemFont

external_systemFont Type

unknown (Font Calculator)

system_dbFont

返回 FontConfig 的 JavaScript 函数。默认情况下,这些函数返回适当的 *FontSize*FontFamily*FontWeight 值。

For example, the font calculator called boundaryFont might be defined as:

javascript
boundaryFont: function () {
  return {
    fontFamily: this.boundaryFontFamily,
    fontSize: this.boundaryFontSize,
    fontWeight: this.boundaryFontWeight,
  };
}

system_dbFont

system_dbFont Type

unknown (Font Calculator)

external_system_dbFont

返回 FontConfig 的 JavaScript 函数。默认情况下,这些函数返回适当的 *FontSize*FontFamily*FontWeight 值。

For example, the font calculator called boundaryFont might be defined as:

javascript
boundaryFont: function () {
  return {
    fontFamily: this.boundaryFontFamily,
    fontSize: this.boundaryFontSize,
    fontWeight: this.boundaryFontWeight,
  };
}

external_system_dbFont

external_system_dbFont Type

unknown (Font Calculator)

system_queueFont

返回 FontConfig 的 JavaScript 函数。默认情况下,这些函数返回适当的 *FontSize*FontFamily*FontWeight 值。

For example, the font calculator called boundaryFont might be defined as:

javascript
boundaryFont: function () {
  return {
    fontFamily: this.boundaryFontFamily,
    fontSize: this.boundaryFontSize,
    fontWeight: this.boundaryFontWeight,
  };
}

system_queueFont

system_queueFont Type

unknown (Font Calculator)

external_system_queueFont

返回 FontConfig 的 JavaScript 函数。默认情况下,这些函数返回适当的 *FontSize*FontFamily*FontWeight 值。

For example, the font calculator called boundaryFont might be defined as:

javascript
boundaryFont: function () {
  return {
    fontFamily: this.boundaryFontFamily,
    fontSize: this.boundaryFontSize,
    fontWeight: this.boundaryFontWeight,
  };
}

external_system_queueFont

external_system_queueFont Type

unknown (Font Calculator)

containerFont

返回 FontConfig 的 JavaScript 函数。默认情况下,这些函数返回适当的 *FontSize*FontFamily*FontWeight 值。

For example, the font calculator called boundaryFont might be defined as:

javascript
boundaryFont: function () {
  return {
    fontFamily: this.boundaryFontFamily,
    fontSize: this.boundaryFontSize,
    fontWeight: this.boundaryFontWeight,
  };
}

containerFont

containerFont Type

unknown (Font Calculator)

external_containerFont

返回 FontConfig 的 JavaScript 函数。默认情况下,这些函数返回适当的 *FontSize*FontFamily*FontWeight 值。

For example, the font calculator called boundaryFont might be defined as:

javascript
boundaryFont: function () {
  return {
    fontFamily: this.boundaryFontFamily,
    fontSize: this.boundaryFontSize,
    fontWeight: this.boundaryFontWeight,
  };
}

external_containerFont

external_containerFont Type

unknown (Font Calculator)

container_dbFont

返回 FontConfig 的 JavaScript 函数。默认情况下,这些函数返回适当的 *FontSize*FontFamily*FontWeight 值。

For example, the font calculator called boundaryFont might be defined as:

javascript
boundaryFont: function () {
  return {
    fontFamily: this.boundaryFontFamily,
    fontSize: this.boundaryFontSize,
    fontWeight: this.boundaryFontWeight,
  };
}

container_dbFont

container_dbFont Type

unknown (Font Calculator)

external_container_dbFont

返回 FontConfig 的 JavaScript 函数。默认情况下,这些函数返回适当的 *FontSize*FontFamily*FontWeight 值。

For example, the font calculator called boundaryFont might be defined as:

javascript
boundaryFont: function () {
  return {
    fontFamily: this.boundaryFontFamily,
    fontSize: this.boundaryFontSize,
    fontWeight: this.boundaryFontWeight,
  };
}

external_container_dbFont

external_container_dbFont Type

unknown (Font Calculator)

container_queueFont

返回 FontConfig 的 JavaScript 函数。默认情况下,这些函数返回适当的 *FontSize*FontFamily*FontWeight 值。

For example, the font calculator called boundaryFont might be defined as:

javascript
boundaryFont: function () {
  return {
    fontFamily: this.boundaryFontFamily,
    fontSize: this.boundaryFontSize,
    fontWeight: this.boundaryFontWeight,
  };
}

container_queueFont

container_queueFont Type

unknown (Font Calculator)

external_container_queueFont

返回 FontConfig 的 JavaScript 函数。默认情况下,这些函数返回适当的 *FontSize*FontFamily*FontWeight 值。

For example, the font calculator called boundaryFont might be defined as:

javascript
boundaryFont: function () {
  return {
    fontFamily: this.boundaryFontFamily,
    fontSize: this.boundaryFontSize,
    fontWeight: this.boundaryFontWeight,
  };
}

external_container_queueFont

external_container_queueFont Type

unknown (Font Calculator)

componentFont

返回 FontConfig 的 JavaScript 函数。默认情况下,这些函数返回适当的 *FontSize*FontFamily*FontWeight 值。

For example, the font calculator called boundaryFont might be defined as:

javascript
boundaryFont: function () {
  return {
    fontFamily: this.boundaryFontFamily,
    fontSize: this.boundaryFontSize,
    fontWeight: this.boundaryFontWeight,
  };
}

componentFont

componentFont Type

unknown (Font Calculator)

external_componentFont

返回 FontConfig 的 JavaScript 函数。默认情况下,这些函数返回适当的 *FontSize*FontFamily*FontWeight 值。

For example, the font calculator called boundaryFont might be defined as:

javascript
boundaryFont: function () {
  return {
    fontFamily: this.boundaryFontFamily,
    fontSize: this.boundaryFontSize,
    fontWeight: this.boundaryFontWeight,
  };
}

external_componentFont

external_componentFont Type

unknown (Font Calculator)

component_dbFont

返回 FontConfig 的 JavaScript 函数。默认情况下,这些函数返回适当的 *FontSize*FontFamily*FontWeight 值。

For example, the font calculator called boundaryFont might be defined as:

javascript
boundaryFont: function () {
  return {
    fontFamily: this.boundaryFontFamily,
    fontSize: this.boundaryFontSize,
    fontWeight: this.boundaryFontWeight,
  };
}

component_dbFont

component_dbFont Type

unknown (Font Calculator)

external_component_dbFont

返回 FontConfig 的 JavaScript 函数。默认情况下,这些函数返回适当的 *FontSize*FontFamily*FontWeight 值。

For example, the font calculator called boundaryFont might be defined as:

javascript
boundaryFont: function () {
  return {
    fontFamily: this.boundaryFontFamily,
    fontSize: this.boundaryFontSize,
    fontWeight: this.boundaryFontWeight,
  };
}

external_component_dbFont

external_component_dbFont Type

unknown (Font Calculator)

component_queueFont

返回 FontConfig 的 JavaScript 函数。默认情况下,这些函数返回适当的 *FontSize*FontFamily*FontWeight 值。

For example, the font calculator called boundaryFont might be defined as:

javascript
boundaryFont: function () {
  return {
    fontFamily: this.boundaryFontFamily,
    fontSize: this.boundaryFontSize,
    fontWeight: this.boundaryFontWeight,
  };
}

component_queueFont

component_queueFont Type

unknown (Font Calculator)

external_component_queueFont

返回 FontConfig 的 JavaScript 函数。默认情况下,这些函数返回适当的 *FontSize*FontFamily*FontWeight 值。

For example, the font calculator called boundaryFont might be defined as:

javascript
boundaryFont: function () {
  return {
    fontFamily: this.boundaryFontFamily,
    fontSize: this.boundaryFontSize,
    fontWeight: this.boundaryFontWeight,
  };
}

external_component_queueFont

external_component_queueFont Type

unknown (Font Calculator)

boundaryFont

返回 FontConfig 的 JavaScript 函数。默认情况下,这些函数返回适当的 *FontSize*FontFamily*FontWeight 值。

For example, the font calculator called boundaryFont might be defined as:

javascript
boundaryFont: function () {
  return {
    fontFamily: this.boundaryFontFamily,
    fontSize: this.boundaryFontSize,
    fontWeight: this.boundaryFontWeight,
  };
}

boundaryFont

boundaryFont Type

unknown (Font Calculator)

messageFont

返回 FontConfig 的 JavaScript 函数。默认情况下,这些函数返回适当的 *FontSize*FontFamily*FontWeight 值。

For example, the font calculator called boundaryFont might be defined as:

javascript
boundaryFont: function () {
  return {
    fontFamily: this.boundaryFontFamily,
    fontSize: this.boundaryFontSize,
    fontWeight: this.boundaryFontWeight,
  };
}

messageFont

messageFont Type

unknown (Font Calculator)