Git Graph Diagram Config Schema β
https://mermaid.js.org/schemas/config.schema.json#/$defs/GitGraphDiagramConfig
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* |
GitGraphDiagramConfig Type β
object
(Git Graph Diagram Config)
all of
GitGraphDiagramConfig Properties β
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
titleTopMargin | integer | Required | cannot be null | Mermaid Config |
diagramPadding | number | Optional | cannot be null | Mermaid Config |
nodeLabel | Merged | Optional | cannot be null | Mermaid Config |
mainBranchName | string | Optional | cannot be null | Mermaid Config |
mainBranchOrder | number | Optional | cannot be null | Mermaid Config |
showCommitLabel | boolean | Optional | cannot be null | Mermaid Config |
showBranches | boolean | Optional | cannot be null | Mermaid Config |
rotateCommitLabel | boolean | Optional | cannot be null | Mermaid Config |
parallelCommits | boolean | Optional | cannot be null | Mermaid Config |
arrowMarkerAbsolute | boolean | Optional | cannot be null | Mermaid Config |
titleTopMargin β
Margin top for the text over the diagram
titleTopMargin
is required
Type:
integer
cannot be null
defined in: Mermaid Config
titleTopMargin Type β
integer
titleTopMargin Constraints β
minimum: the value of this number must greater than or equal to: 0
titleTopMargin Default Value β
The default value is:
25
diagramPadding β
diagramPadding
is optional
Type:
number
cannot be null
defined in: Mermaid Config
diagramPadding Type β
number
diagramPadding Default Value β
The default value is:
8
nodeLabel β
nodeLabel
is optional
Type:
object
(Details)cannot be null
defined in: Mermaid Config
nodeLabel Type β
object
(Details)
all of
nodeLabel Default Value β
The default value is:
{
"width": 75,
"height": 100,
"x": -25,
"y": 0
}
mainBranchName β
mainBranchName
is optional
Type:
string
cannot be null
defined in: Mermaid Config
mainBranchName Type β
string
mainBranchName Default Value β
The default value is:
"main"
mainBranchOrder β
mainBranchOrder
is optional
Type:
number
cannot be null
defined in: Mermaid Config
mainBranchOrder Type β
number
showCommitLabel β
showCommitLabel
is optional
Type:
boolean
cannot be null
defined in: Mermaid Config
showCommitLabel Type β
boolean
showCommitLabel Default Value β
The default value is:
true
showBranches β
showBranches
is optional
Type:
boolean
cannot be null
defined in: Mermaid Config
showBranches Type β
boolean
showBranches Default Value β
The default value is:
true
rotateCommitLabel β
rotateCommitLabel
is optional
Type:
boolean
cannot be null
defined in: Mermaid Config
rotateCommitLabel Type β
boolean
rotateCommitLabel Default Value β
The default value is:
true
parallelCommits β
parallelCommits
is optional
Type:
boolean
cannot be null
defined in: Mermaid Config
parallelCommits Type β
boolean
arrowMarkerAbsolute β
Controls whether or arrow markers in html code are absolute paths or anchors. This matters if you are using base tag settings.
arrowMarkerAbsolute
is optional
Type:
boolean
cannot be null
defined in: Mermaid Config
arrowMarkerAbsolute Type β
boolean