Venn Diagram Config Schema
https://mermaid.js.org/schemas/config.schema.json#/$defs/VennDiagramConfigThe object containing configurations specific for Venn diagrams.
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|---|---|---|---|---|---|---|---|
| Can be instantiated | No | Unknown status | No | Forbidden | Allowed | none | config.schema.json* |
VennDiagramConfig Type
object (Venn Diagram Config)
all of
VennDiagramConfig Properties
| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| theme | string | Optional | cannot be null | Mermaid Config |
| look | string | Optional | cannot be null | Mermaid Config |
| width | number | Optional | cannot be null | Mermaid Config |
| height | number | Optional | cannot be null | Mermaid Config |
| padding | number | Optional | cannot be null | Mermaid Config |
| useDebugLayout | boolean | Optional | cannot be null | Mermaid Config |
theme
Theme, the CSS style sheet. You may also use themeCSS to override this value.
theme
is optional
Type:
stringcannot be null
defined in: Mermaid Config
theme Type
string
theme Constraints
enum: the value of this property must be equal to one of the following values:
| Value | Explanation |
|---|---|
"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:
"redux-color"look
Defines which main look to use for the diagram.
look
is optional
Type:
stringcannot be null
defined in: Mermaid Config
look Type
string
look Constraints
enum: the value of this property must be equal to one of the following values:
| Value | Explanation |
|---|---|
"classic" | |
"handDrawn" | |
"neo" |
look Default Value
The default value is:
"neo"width
The width of the Venn diagram.
width
is optional
Type:
numbercannot be null
defined in: Mermaid Config
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:
800height
The height of the Venn diagram.
height
is optional
Type:
numbercannot be null
defined in: Mermaid Config
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:
450padding
padding
is optional
Type:
numbercannot be null
defined in: Mermaid Config
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:
8useDebugLayout
useDebugLayout
is optional
Type:
booleancannot be null
defined in: Mermaid Config
useDebugLayout Type
boolean
useDebugLayout Default Value
The default value is:
false