Skip to content

Cynefin Diagram Config Schema

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

Configuration for Cynefin framework diagrams.

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

CynefinDiagramConfig Type

object (Cynefin Diagram Config)

all of

CynefinDiagramConfig Properties

PropertyTypeRequiredNullableDefined by
widthnumberOptionalcannot be nullMermaid Config
heightnumberOptionalcannot be nullMermaid Config
paddingnumberOptionalcannot be nullMermaid Config
showDomainDescriptionsbooleanOptionalcannot be nullMermaid Config
boundaryAmplitudenumberOptionalcannot be nullMermaid Config
seednumberOptionalcannot be nullMermaid Config

width

The width of the Cynefin 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 Cynefin 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
600

padding

Padding around the 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
40

showDomainDescriptions

Show decision model and practice type labels.

showDomainDescriptions

showDomainDescriptions Type

boolean

showDomainDescriptions Default Value

The default value is:

json
true

boundaryAmplitude

Waviness amplitude of domain boundaries (0 for straight).

boundaryAmplitude

boundaryAmplitude Type

number

boundaryAmplitude Constraints

maximum: the value of this number must smaller than or equal to: 50

minimum: the value of this number must greater than or equal to: 0

boundaryAmplitude Default Value

The default value is:

json
8

seed

Deterministic seed for boundary waviness. When 0 (default) the seed is derived from the diagram's SVG element id, which varies per render. Set any non-zero number to produce identical boundaries on every render — required for visual regression tests to be stable.

seed

seed Type

number

seed Default Value

The default value is:

json
0
Opens in mermaid.ai