Skip to content

Venn Diagram Config Schema ​

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

The object containing configurations specific for Venn diagrams.

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

VennDiagramConfig Type ​

object (Venn Diagram Config)

all of

VennDiagramConfig Properties ​

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

theme ​

Theme, the CSS style sheet. You may also use themeCSS to override this value.

theme

theme Type ​

string

theme Constraints ​

enum: the value of this property must be equal to one of the following values:

ValueExplanation
"default"
"base"
"dark"
"forest"
"neutral"
"neo"
"neo-dark"
"redux"
"redux-dark"
"redux-color"
"redux-dark-color"
"null"Can be set to disable any pre-defined mermaid theme

theme Default Value ​

The default value is:

json
"redux-color"

look ​

Defines which main look to use for the diagram.

look

look Type ​

string

look Constraints ​

enum: the value of this property must be equal to one of the following values:

ValueExplanation
"classic"
"handDrawn"
"neo"

look Default Value ​

The default value is:

json
"neo"

width ​

The width of the Venn diagram.

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 ​

The height of the Venn diagram.

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