Skip to content

Cynefin Diagram Config Schema

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

Cynefin 框架图的配置。

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

Cynefin 图的宽度。

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

Cynefin 图的高度。

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

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

显示决策模型和实践类型标签。

showDomainDescriptions

showDomainDescriptions Type

boolean

showDomainDescriptions Default Value

The default value is:

json
true

boundaryAmplitude

晶域边界的波动幅度(直线为0)。

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

用于边界波纹的确定性种子。为 0 时(默认值),种子由图表的 SVG 元素 ID 派生,该 ID 在每次渲染时会变化。设置任意非零数字可在每次渲染时生成相同的边界——这是保持视觉回归测试稳定所必需的。

seed

seed Type

number

seed Default Value

The default value is:

json
0
Opens in mermaid.ai