Wardley Diagram Config Schema
https://mermaid.js.org/schemas/config.schema.json#/$defs/WardleyDiagramConfigThe object containing configurations specific for Wardley Maps 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* |
WardleyDiagramConfig Type
object (Wardley Diagram Config)
all of
WardleyDiagramConfig Properties
| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| width | number | Optional | cannot be null | Mermaid Config |
| height | number | Optional | cannot be null | Mermaid Config |
| padding | number | Optional | cannot be null | Mermaid Config |
| nodeRadius | number | Optional | cannot be null | Mermaid Config |
| nodeLabelOffset | number | Optional | cannot be null | Mermaid Config |
| axisFontSize | number | Optional | cannot be null | Mermaid Config |
| labelFontSize | number | Optional | cannot be null | Mermaid Config |
| showGrid | boolean | Optional | cannot be null | Mermaid Config |
width
The width of the Wardley diagram canvas.
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:
900height
The height of the Wardley diagram canvas.
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:
600padding
The padding around the Wardley diagram.
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:
48nodeRadius
The radius of component nodes.
nodeRadius
is optional
Type:
numbercannot be null
defined in: Mermaid Config
nodeRadius Type
number
nodeRadius Constraints
minimum: the value of this number must greater than or equal to: 0
nodeRadius Default Value
The default value is:
6nodeLabelOffset
The offset distance for node labels.
nodeLabelOffset
is optional
Type:
numbercannot be null
defined in: Mermaid Config
nodeLabelOffset Type
number
nodeLabelOffset Constraints
minimum: the value of this number must greater than or equal to: 0
nodeLabelOffset Default Value
The default value is:
8axisFontSize
The font size for axis labels.
axisFontSize
is optional
Type:
numbercannot be null
defined in: Mermaid Config
axisFontSize Type
number
axisFontSize Constraints
minimum: the value of this number must greater than or equal to: 0
axisFontSize Default Value
The default value is:
12labelFontSize
The font size for component labels.
labelFontSize
is optional
Type:
numbercannot be null
defined in: Mermaid Config
labelFontSize Type
number
labelFontSize Constraints
minimum: the value of this number must greater than or equal to: 0
labelFontSize Default Value
The default value is:
10showGrid
Whether to display a background grid.
showGrid
is optional
Type:
booleancannot be null
defined in: Mermaid Config
showGrid Type
boolean
showGrid Default Value
The default value is:
false