主题
Requirement Diagram Config Schema
txt
https://mermaid.js.org/schemas/config.schema.json#/$defs/RequirementDiagramConfig
包含特定于 req 图的配置的对象
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:
json
"#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:
json
"#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:
json
"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:
json
"#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:
json
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:
json
200
fontSize
fontSize
is optional
Type:
number
cannot be null
defined in: Mermaid Config
fontSize Type
number
fontSize Default Value
The default value is:
json
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:
json
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:
json
20