Requirement Diagram Config Schema β
https://mermaid.js.org/schemas/config.schema.json#/$defs/RequirementDiagramConfig
The object containing configurations specific for req 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* |
RequirementDiagramConfig Type β
object
(Requirement Diagram Config)
all of
RequirementDiagramConfig Properties β
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
rect_fill | string | Optional | cannot be null | Mermaid Config |
text_color | string | Optional | cannot be null | Mermaid Config |
rect_border_size | string | Optional | cannot be null | Mermaid Config |
rect_border_color | string | Optional | cannot be null | Mermaid Config |
rect_min_width | number | Optional | cannot be null | Mermaid Config |
rect_min_height | number | Optional | cannot be null | Mermaid Config |
fontSize | number | Optional | cannot be null | Mermaid Config |
rect_padding | number | Optional | cannot be null | Mermaid Config |
line_height | number | Optional | cannot be null | Mermaid Config |
rect_fill β
rect_fill
is optional
Type:
string
cannot be null
defined in: Mermaid Config
rect_fill Type β
string
rect_fill Default Value β
The default value is:
"#f9f9f9"
text_color β
text_color
is optional
Type:
string
cannot be null
defined in: Mermaid Config
text_color Type β
string
text_color Default Value β
The default value is:
"#333"
rect_border_size β
rect_border_size
is optional
Type:
string
cannot be null
defined in: Mermaid Config
rect_border_size Type β
string
rect_border_size Default Value β
The default value is:
"0.5px"
rect_border_color β
rect_border_color
is optional
Type:
string
cannot be null
defined in: Mermaid Config
rect_border_color Type β
string
rect_border_color Default Value β
The default value is:
"#bbb"
rect_min_width β
rect_min_width
is optional
Type:
number
cannot be null
defined in: Mermaid Config
rect_min_width Type β
number
rect_min_width Default Value β
The default value is:
200
rect_min_height β
rect_min_height
is optional
Type:
number
cannot be null
defined in: Mermaid Config
rect_min_height Type β
number
rect_min_height Default Value β
The default value is:
200
fontSize β
fontSize
is optional
Type:
number
cannot be null
defined in: Mermaid Config
fontSize Type β
number
fontSize Default Value β
The default value is:
14
rect_padding β
rect_padding
is optional
Type:
number
cannot be null
defined in: Mermaid Config
rect_padding Type β
number
rect_padding Default Value β
The default value is:
10
line_height β
line_height
is optional
Type:
number
cannot be null
defined in: Mermaid Config
line_height Type β
number
line_height Default Value β
The default value is:
20