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