Skip to content

Venn Diagram Config Schema

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

包含针对维恩图的特定配置的对象。

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

VennDiagramConfig Type

object (Venn Diagram Config)

all of

VennDiagramConfig Properties

PropertyTypeRequiredNullableDefined by
widthnumberOptionalcannot be nullMermaid Config
heightnumberOptionalcannot be nullMermaid Config
paddingnumberOptionalcannot be nullMermaid Config
useDebugLayoutbooleanOptionalcannot be nullMermaid Config

width

维恩图的宽度。

width

width Type

number

width Constraints

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

width Default Value

The default value is:

json
800

height

维恩图的高度。

height

height Type

number

height Constraints

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

height Default Value

The default value is:

json
450

padding

padding

padding Type

number

padding Constraints

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

padding Default Value

The default value is:

json
8

useDebugLayout

useDebugLayout

useDebugLayout Type

boolean

useDebugLayout Default Value

The default value is:

json
false
Opens in mermaid.ai