Skip to content

Wardley Diagram Config Schema

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

The object containing configurations specific for Wardley Maps diagrams.

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

WardleyDiagramConfig Type

object (Wardley Diagram Config)

all of

WardleyDiagramConfig Properties

PropertyTypeRequiredNullableDefined by
widthnumberOptionalcannot be nullMermaid Config
heightnumberOptionalcannot be nullMermaid Config
paddingnumberOptionalcannot be nullMermaid Config
nodeRadiusnumberOptionalcannot be nullMermaid Config
nodeLabelOffsetnumberOptionalcannot be nullMermaid Config
axisFontSizenumberOptionalcannot be nullMermaid Config
labelFontSizenumberOptionalcannot be nullMermaid Config
showGridbooleanOptionalcannot be nullMermaid Config

width

The width of the Wardley diagram canvas.

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
900

height

The height of the Wardley diagram canvas.

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
600

padding

The padding around the Wardley diagram.

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
48

nodeRadius

The radius of component nodes.

nodeRadius

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:

json
6

nodeLabelOffset

The offset distance for node labels.

nodeLabelOffset

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:

json
8

axisFontSize

The font size for axis labels.

axisFontSize

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:

json
12

labelFontSize

The font size for component labels.

labelFontSize

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:

json
10

showGrid

Whether to display a background grid.

showGrid

showGrid Type

boolean

showGrid Default Value

The default value is:

json
false
Opens in mermaid.ai