Base Diagram Config Schema β
txt
https://mermaid.js.org/schemas/config.schema.json#/$defs/BaseDiagramConfig
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* |
BaseDiagramConfig Type β
object
(Base Diagram Config)
BaseDiagramConfig Properties β
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
useWidth | number | Optional | cannot be null | Mermaid Config |
useMaxWidth | boolean | Optional | cannot be null | Mermaid Config |
useWidth β
useWidth
is optional
Type:
number
cannot be null
defined in: Mermaid Config
useWidth Type β
number
useMaxWidth β
When this flag is set to true
, the height and width is set to 100% and is then scaled with the available space. If set to false
, the absolute space required is used.
useMaxWidth
is optional
Type:
boolean
cannot be null
defined in: Mermaid Config
useMaxWidth Type β
boolean
useMaxWidth Default Value β
The default value is:
json
true