mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-15 14:29:25 +02:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -432,7 +432,13 @@ Sometimes you may want to hide the branch names and lines from the diagram. You
|
|||||||
Usage example:
|
Usage example:
|
||||||
|
|
||||||
```mermaid-example
|
```mermaid-example
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'base', 'gitGraph': {'showBranches': false}} }%%
|
---
|
||||||
|
config:
|
||||||
|
logLevel: 'debug'
|
||||||
|
theme: 'base'
|
||||||
|
gitGraph:
|
||||||
|
showBranches: false
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
commit
|
commit
|
||||||
branch hotfix
|
branch hotfix
|
||||||
@@ -478,7 +484,13 @@ Usage example:
|
|||||||
```
|
```
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'base', 'gitGraph': {'showBranches': false}} }%%
|
---
|
||||||
|
config:
|
||||||
|
logLevel: 'debug'
|
||||||
|
theme: 'base'
|
||||||
|
gitGraph:
|
||||||
|
showBranches: false
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
commit
|
commit
|
||||||
branch hotfix
|
branch hotfix
|
||||||
@@ -534,7 +546,13 @@ You can change the layout of the commit labels by using the `rotateCommitLabel`
|
|||||||
Usage example: Rotated commit labels
|
Usage example: Rotated commit labels
|
||||||
|
|
||||||
```mermaid-example
|
```mermaid-example
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'base', 'gitGraph': {'rotateCommitLabel': true}} }%%
|
---
|
||||||
|
config:
|
||||||
|
logLevel: 'debug'
|
||||||
|
theme: 'base'
|
||||||
|
gitGraph:
|
||||||
|
rotateCommitLabel: true
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
commit id: "feat(api): ..."
|
commit id: "feat(api): ..."
|
||||||
commit id: "a"
|
commit id: "a"
|
||||||
@@ -553,7 +571,13 @@ gitGraph
|
|||||||
```
|
```
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'base', 'gitGraph': {'rotateCommitLabel': true}} }%%
|
---
|
||||||
|
config:
|
||||||
|
logLevel: 'debug'
|
||||||
|
theme: 'base'
|
||||||
|
gitGraph:
|
||||||
|
rotateCommitLabel: true
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
commit id: "feat(api): ..."
|
commit id: "feat(api): ..."
|
||||||
commit id: "a"
|
commit id: "a"
|
||||||
@@ -574,7 +598,13 @@ gitGraph
|
|||||||
Usage example: Horizontal commit labels
|
Usage example: Horizontal commit labels
|
||||||
|
|
||||||
```mermaid-example
|
```mermaid-example
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'base', 'gitGraph': {'rotateCommitLabel': false}} }%%
|
---
|
||||||
|
config:
|
||||||
|
logLevel: 'debug'
|
||||||
|
theme: 'base'
|
||||||
|
gitGraph:
|
||||||
|
rotateCommitLabel: false
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
commit id: "feat(api): ..."
|
commit id: "feat(api): ..."
|
||||||
commit id: "a"
|
commit id: "a"
|
||||||
@@ -593,7 +623,13 @@ gitGraph
|
|||||||
```
|
```
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'base', 'gitGraph': {'rotateCommitLabel': false}} }%%
|
---
|
||||||
|
config:
|
||||||
|
logLevel: 'debug'
|
||||||
|
theme: 'base'
|
||||||
|
gitGraph:
|
||||||
|
rotateCommitLabel: false
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
commit id: "feat(api): ..."
|
commit id: "feat(api): ..."
|
||||||
commit id: "a"
|
commit id: "a"
|
||||||
@@ -618,7 +654,14 @@ Sometimes you may want to hide the commit labels from the diagram. You can do th
|
|||||||
Usage example:
|
Usage example:
|
||||||
|
|
||||||
```mermaid-example
|
```mermaid-example
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'base', 'gitGraph': {'showBranches': false,'showCommitLabel': false}} }%%
|
---
|
||||||
|
config:
|
||||||
|
logLevel: 'debug'
|
||||||
|
theme: 'base'
|
||||||
|
gitGraph:
|
||||||
|
showBranches: false
|
||||||
|
showCommitLabel: false
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
commit
|
commit
|
||||||
branch hotfix
|
branch hotfix
|
||||||
@@ -664,7 +707,14 @@ Usage example:
|
|||||||
```
|
```
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'base', 'gitGraph': {'showBranches': false,'showCommitLabel': false}} }%%
|
---
|
||||||
|
config:
|
||||||
|
logLevel: 'debug'
|
||||||
|
theme: 'base'
|
||||||
|
gitGraph:
|
||||||
|
showBranches: false
|
||||||
|
showCommitLabel: false
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
commit
|
commit
|
||||||
branch hotfix
|
branch hotfix
|
||||||
@@ -716,7 +766,15 @@ Sometimes you may want to customize the name of the main/default branch. You can
|
|||||||
Usage example:
|
Usage example:
|
||||||
|
|
||||||
```mermaid-example
|
```mermaid-example
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'base', 'gitGraph': {'showBranches': true, 'showCommitLabel':true,'mainBranchName': 'MetroLine1'}} }%%
|
---
|
||||||
|
config:
|
||||||
|
logLevel: 'debug'
|
||||||
|
theme: 'base'
|
||||||
|
gitGraph:
|
||||||
|
showBranches: true
|
||||||
|
showCommitLabel: true
|
||||||
|
mainBranchName: 'MetroLine1'
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
commit id:"NewYork"
|
commit id:"NewYork"
|
||||||
commit id:"Dallas"
|
commit id:"Dallas"
|
||||||
@@ -740,7 +798,15 @@ Usage example:
|
|||||||
```
|
```
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'base', 'gitGraph': {'showBranches': true, 'showCommitLabel':true,'mainBranchName': 'MetroLine1'}} }%%
|
---
|
||||||
|
config:
|
||||||
|
logLevel: 'debug'
|
||||||
|
theme: 'base'
|
||||||
|
gitGraph:
|
||||||
|
showBranches: true
|
||||||
|
showCommitLabel: true
|
||||||
|
mainBranchName: 'MetroLine1'
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
commit id:"NewYork"
|
commit id:"NewYork"
|
||||||
commit id:"Dallas"
|
commit id:"Dallas"
|
||||||
@@ -782,7 +848,14 @@ To fully control the order of all the branches, you must define `order` for all
|
|||||||
Usage example:
|
Usage example:
|
||||||
|
|
||||||
```mermaid-example
|
```mermaid-example
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'base', 'gitGraph': {'showBranches': true, 'showCommitLabel':true}} }%%
|
---
|
||||||
|
config:
|
||||||
|
logLevel: 'debug'
|
||||||
|
theme: 'base'
|
||||||
|
gitGraph:
|
||||||
|
showBranches: true
|
||||||
|
showCommitLabel: true
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
commit
|
commit
|
||||||
branch test1 order: 3
|
branch test1 order: 3
|
||||||
@@ -792,7 +865,14 @@ Usage example:
|
|||||||
```
|
```
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'base', 'gitGraph': {'showBranches': true, 'showCommitLabel':true}} }%%
|
---
|
||||||
|
config:
|
||||||
|
logLevel: 'debug'
|
||||||
|
theme: 'base'
|
||||||
|
gitGraph:
|
||||||
|
showBranches: true
|
||||||
|
showCommitLabel: true
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
commit
|
commit
|
||||||
branch test1 order: 3
|
branch test1 order: 3
|
||||||
@@ -806,7 +886,15 @@ Look at the diagram, all the branches are following the order defined.
|
|||||||
Usage example:
|
Usage example:
|
||||||
|
|
||||||
```mermaid-example
|
```mermaid-example
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'base', 'gitGraph': {'showBranches': true, 'showCommitLabel':true,'mainBranchOrder': 2}} }%%
|
---
|
||||||
|
config:
|
||||||
|
logLevel: 'debug'
|
||||||
|
theme: 'base'
|
||||||
|
gitGraph:
|
||||||
|
showBranches: true
|
||||||
|
showCommitLabel: true
|
||||||
|
mainBranchOrder: 2
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
commit
|
commit
|
||||||
branch test1 order: 3
|
branch test1 order: 3
|
||||||
@@ -817,7 +905,15 @@ Usage example:
|
|||||||
```
|
```
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'base', 'gitGraph': {'showBranches': true, 'showCommitLabel':true,'mainBranchOrder': 2}} }%%
|
---
|
||||||
|
config:
|
||||||
|
logLevel: 'debug'
|
||||||
|
theme: 'base'
|
||||||
|
gitGraph:
|
||||||
|
showBranches: true
|
||||||
|
showCommitLabel: true
|
||||||
|
mainBranchOrder: 2
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
commit
|
commit
|
||||||
branch test1 order: 3
|
branch test1 order: 3
|
||||||
@@ -1046,7 +1142,11 @@ Let's put them to use, and see how our sample diagram looks in different themes:
|
|||||||
### Base Theme
|
### Base Theme
|
||||||
|
|
||||||
```mermaid-example
|
```mermaid-example
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'base' } }%%
|
---
|
||||||
|
config:
|
||||||
|
logLevel: 'debug'
|
||||||
|
theme: 'base'
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
commit
|
commit
|
||||||
branch hotfix
|
branch hotfix
|
||||||
@@ -1092,7 +1192,11 @@ Let's put them to use, and see how our sample diagram looks in different themes:
|
|||||||
```
|
```
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'base' } }%%
|
---
|
||||||
|
config:
|
||||||
|
logLevel: 'debug'
|
||||||
|
theme: 'base'
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
commit
|
commit
|
||||||
branch hotfix
|
branch hotfix
|
||||||
@@ -1140,7 +1244,11 @@ Let's put them to use, and see how our sample diagram looks in different themes:
|
|||||||
### Forest Theme
|
### Forest Theme
|
||||||
|
|
||||||
```mermaid-example
|
```mermaid-example
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'forest' } }%%
|
---
|
||||||
|
config:
|
||||||
|
logLevel: 'debug'
|
||||||
|
theme: 'forest'
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
commit
|
commit
|
||||||
branch hotfix
|
branch hotfix
|
||||||
@@ -1186,7 +1294,11 @@ Let's put them to use, and see how our sample diagram looks in different themes:
|
|||||||
```
|
```
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'forest' } }%%
|
---
|
||||||
|
config:
|
||||||
|
logLevel: 'debug'
|
||||||
|
theme: 'forest'
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
commit
|
commit
|
||||||
branch hotfix
|
branch hotfix
|
||||||
@@ -1234,7 +1346,11 @@ Let's put them to use, and see how our sample diagram looks in different themes:
|
|||||||
### Default Theme
|
### Default Theme
|
||||||
|
|
||||||
```mermaid-example
|
```mermaid-example
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'default' } }%%
|
---
|
||||||
|
config:
|
||||||
|
logLevel: 'debug'
|
||||||
|
theme: 'default'
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
commit type:HIGHLIGHT
|
commit type:HIGHLIGHT
|
||||||
branch hotfix
|
branch hotfix
|
||||||
@@ -1280,7 +1396,11 @@ Let's put them to use, and see how our sample diagram looks in different themes:
|
|||||||
```
|
```
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'default' } }%%
|
---
|
||||||
|
config:
|
||||||
|
logLevel: 'debug'
|
||||||
|
theme: 'default'
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
commit type:HIGHLIGHT
|
commit type:HIGHLIGHT
|
||||||
branch hotfix
|
branch hotfix
|
||||||
@@ -1328,7 +1448,11 @@ Let's put them to use, and see how our sample diagram looks in different themes:
|
|||||||
### Dark Theme
|
### Dark Theme
|
||||||
|
|
||||||
```mermaid-example
|
```mermaid-example
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'dark' } }%%
|
---
|
||||||
|
config:
|
||||||
|
logLevel: 'debug'
|
||||||
|
theme: 'dark'
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
commit
|
commit
|
||||||
branch hotfix
|
branch hotfix
|
||||||
@@ -1374,7 +1498,11 @@ Let's put them to use, and see how our sample diagram looks in different themes:
|
|||||||
```
|
```
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'dark' } }%%
|
---
|
||||||
|
config:
|
||||||
|
logLevel: 'debug'
|
||||||
|
theme: 'dark'
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
commit
|
commit
|
||||||
branch hotfix
|
branch hotfix
|
||||||
@@ -1422,7 +1550,11 @@ Let's put them to use, and see how our sample diagram looks in different themes:
|
|||||||
### Neutral Theme
|
### Neutral Theme
|
||||||
|
|
||||||
```mermaid-example
|
```mermaid-example
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'neutral' } }%%
|
---
|
||||||
|
config:
|
||||||
|
logLevel: 'debug'
|
||||||
|
theme: 'neutral'
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
commit
|
commit
|
||||||
branch hotfix
|
branch hotfix
|
||||||
@@ -1468,7 +1600,11 @@ Let's put them to use, and see how our sample diagram looks in different themes:
|
|||||||
```
|
```
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'neutral' } }%%
|
---
|
||||||
|
config:
|
||||||
|
logLevel: 'debug'
|
||||||
|
theme: 'neutral'
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
commit
|
commit
|
||||||
branch hotfix
|
branch hotfix
|
||||||
@@ -1522,7 +1658,11 @@ For understanding let us take a sample diagram with theme `default`, the default
|
|||||||
See how the default theme is used to set the colors for the branches:
|
See how the default theme is used to set the colors for the branches:
|
||||||
|
|
||||||
```mermaid-example
|
```mermaid-example
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'default' } }%%
|
---
|
||||||
|
config:
|
||||||
|
logLevel: 'debug'
|
||||||
|
theme: 'default'
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
commit
|
commit
|
||||||
branch develop
|
branch develop
|
||||||
@@ -1538,7 +1678,11 @@ See how the default theme is used to set the colors for the branches:
|
|||||||
```
|
```
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'default' } }%%
|
---
|
||||||
|
config:
|
||||||
|
logLevel: 'debug'
|
||||||
|
theme: 'default'
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
commit
|
commit
|
||||||
branch develop
|
branch develop
|
||||||
@@ -1569,16 +1713,20 @@ Example:
|
|||||||
Now let's override the default values for the `git0` to `git3` variables:
|
Now let's override the default values for the `git0` to `git3` variables:
|
||||||
|
|
||||||
```mermaid-example
|
```mermaid-example
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'default' , 'themeVariables': {
|
---
|
||||||
'git0': '#ff0000',
|
config:
|
||||||
'git1': '#00ff00',
|
logLevel: 'debug'
|
||||||
'git2': '#0000ff',
|
theme: 'default'
|
||||||
'git3': '#ff00ff',
|
themeVariables:
|
||||||
'git4': '#00ffff',
|
'git0': '#ff0000'
|
||||||
'git5': '#ffff00',
|
'git1': '#00ff00'
|
||||||
'git6': '#ff00ff',
|
'git2': '#0000ff'
|
||||||
'git7': '#00ffff'
|
'git3': '#ff00ff'
|
||||||
} } }%%
|
'git4': '#00ffff'
|
||||||
|
'git5': '#ffff00'
|
||||||
|
'git6': '#ff00ff'
|
||||||
|
'git7': '#00ffff'
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
commit
|
commit
|
||||||
branch develop
|
branch develop
|
||||||
@@ -1595,16 +1743,20 @@ Now let's override the default values for the `git0` to `git3` variables:
|
|||||||
```
|
```
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'default' , 'themeVariables': {
|
---
|
||||||
'git0': '#ff0000',
|
config:
|
||||||
'git1': '#00ff00',
|
logLevel: 'debug'
|
||||||
'git2': '#0000ff',
|
theme: 'default'
|
||||||
'git3': '#ff00ff',
|
themeVariables:
|
||||||
'git4': '#00ffff',
|
'git0': '#ff0000'
|
||||||
'git5': '#ffff00',
|
'git1': '#00ff00'
|
||||||
'git6': '#ff00ff',
|
'git2': '#0000ff'
|
||||||
'git7': '#00ffff'
|
'git3': '#ff00ff'
|
||||||
} } }%%
|
'git4': '#00ffff'
|
||||||
|
'git5': '#ffff00'
|
||||||
|
'git6': '#ff00ff'
|
||||||
|
'git7': '#00ffff'
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
commit
|
commit
|
||||||
branch develop
|
branch develop
|
||||||
@@ -1631,18 +1783,22 @@ Lets see how the default theme is used to set the colors for the branch labels:
|
|||||||
Now let's override the default values for the `gitBranchLabel0` to `gitBranchLabel2` variables:
|
Now let's override the default values for the `gitBranchLabel0` to `gitBranchLabel2` variables:
|
||||||
|
|
||||||
```mermaid-example
|
```mermaid-example
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'default' , 'themeVariables': {
|
---
|
||||||
'gitBranchLabel0': '#ffffff',
|
config:
|
||||||
'gitBranchLabel1': '#ffffff',
|
logLevel: 'debug'
|
||||||
'gitBranchLabel2': '#ffffff',
|
theme: 'default'
|
||||||
'gitBranchLabel3': '#ffffff',
|
themeVariables:
|
||||||
'gitBranchLabel4': '#ffffff',
|
'gitBranchLabel0': '#ffffff'
|
||||||
'gitBranchLabel5': '#ffffff',
|
'gitBranchLabel1': '#ffffff'
|
||||||
'gitBranchLabel6': '#ffffff',
|
'gitBranchLabel2': '#ffffff'
|
||||||
'gitBranchLabel7': '#ffffff',
|
'gitBranchLabel3': '#ffffff'
|
||||||
'gitBranchLabel8': '#ffffff',
|
'gitBranchLabel4': '#ffffff'
|
||||||
'gitBranchLabel9': '#ffffff'
|
'gitBranchLabel5': '#ffffff'
|
||||||
} } }%%
|
'gitBranchLabel6': '#ffffff'
|
||||||
|
'gitBranchLabel7': '#ffffff'
|
||||||
|
'gitBranchLabel8': '#ffffff'
|
||||||
|
'gitBranchLabel9': '#ffffff'
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
checkout main
|
checkout main
|
||||||
branch branch1
|
branch branch1
|
||||||
@@ -1659,18 +1815,22 @@ Now let's override the default values for the `gitBranchLabel0` to `gitBranchLab
|
|||||||
```
|
```
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'default' , 'themeVariables': {
|
---
|
||||||
'gitBranchLabel0': '#ffffff',
|
config:
|
||||||
'gitBranchLabel1': '#ffffff',
|
logLevel: 'debug'
|
||||||
'gitBranchLabel2': '#ffffff',
|
theme: 'default'
|
||||||
'gitBranchLabel3': '#ffffff',
|
themeVariables:
|
||||||
'gitBranchLabel4': '#ffffff',
|
'gitBranchLabel0': '#ffffff'
|
||||||
'gitBranchLabel5': '#ffffff',
|
'gitBranchLabel1': '#ffffff'
|
||||||
'gitBranchLabel6': '#ffffff',
|
'gitBranchLabel2': '#ffffff'
|
||||||
'gitBranchLabel7': '#ffffff',
|
'gitBranchLabel3': '#ffffff'
|
||||||
'gitBranchLabel8': '#ffffff',
|
'gitBranchLabel4': '#ffffff'
|
||||||
'gitBranchLabel9': '#ffffff'
|
'gitBranchLabel5': '#ffffff'
|
||||||
} } }%%
|
'gitBranchLabel6': '#ffffff'
|
||||||
|
'gitBranchLabel7': '#ffffff'
|
||||||
|
'gitBranchLabel8': '#ffffff'
|
||||||
|
'gitBranchLabel9': '#ffffff'
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
checkout main
|
checkout main
|
||||||
branch branch1
|
branch branch1
|
||||||
@@ -1696,10 +1856,14 @@ Example:
|
|||||||
Now let's override the default values for the `commitLabelColor` to `commitLabelBackground` variables:
|
Now let's override the default values for the `commitLabelColor` to `commitLabelBackground` variables:
|
||||||
|
|
||||||
```mermaid-example
|
```mermaid-example
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'default' , 'themeVariables': {
|
---
|
||||||
'commitLabelColor': '#ff0000',
|
config:
|
||||||
'commitLabelBackground': '#00ff00'
|
logLevel: 'debug'
|
||||||
} } }%%
|
theme: 'default'
|
||||||
|
themeVariables:
|
||||||
|
commitLabelColor: '#ff0000'
|
||||||
|
commitLabelBackground: '#00ff00'
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
commit
|
commit
|
||||||
branch develop
|
branch develop
|
||||||
@@ -1716,10 +1880,14 @@ Now let's override the default values for the `commitLabelColor` to `commitLabel
|
|||||||
```
|
```
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'default' , 'themeVariables': {
|
---
|
||||||
'commitLabelColor': '#ff0000',
|
config:
|
||||||
'commitLabelBackground': '#00ff00'
|
logLevel: 'debug'
|
||||||
} } }%%
|
theme: 'default'
|
||||||
|
themeVariables:
|
||||||
|
commitLabelColor: '#ff0000'
|
||||||
|
commitLabelBackground: '#00ff00'
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
commit
|
commit
|
||||||
branch develop
|
branch develop
|
||||||
@@ -1745,11 +1913,15 @@ Example:
|
|||||||
Now let's override the default values for the `commitLabelFontSize` variable:
|
Now let's override the default values for the `commitLabelFontSize` variable:
|
||||||
|
|
||||||
```mermaid-example
|
```mermaid-example
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'default' , 'themeVariables': {
|
---
|
||||||
'commitLabelColor': '#ff0000',
|
config:
|
||||||
'commitLabelBackground': '#00ff00',
|
logLevel: 'debug'
|
||||||
'commitLabelFontSize': '16px'
|
theme: 'default'
|
||||||
} } }%%
|
themeVariables:
|
||||||
|
commitLabelColor: '#ff0000'
|
||||||
|
commitLabelBackground: '#00ff00'
|
||||||
|
commitLabelFontSize: '16px'
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
commit
|
commit
|
||||||
branch develop
|
branch develop
|
||||||
@@ -1766,11 +1938,15 @@ Now let's override the default values for the `commitLabelFontSize` variable:
|
|||||||
```
|
```
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'default' , 'themeVariables': {
|
---
|
||||||
'commitLabelColor': '#ff0000',
|
config:
|
||||||
'commitLabelBackground': '#00ff00',
|
logLevel: 'debug'
|
||||||
'commitLabelFontSize': '16px'
|
theme: 'default'
|
||||||
} } }%%
|
themeVariables:
|
||||||
|
commitLabelColor: '#ff0000'
|
||||||
|
commitLabelBackground: '#00ff00'
|
||||||
|
commitLabelFontSize: '16px'
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
commit
|
commit
|
||||||
branch develop
|
branch develop
|
||||||
@@ -1796,11 +1972,15 @@ Example:
|
|||||||
Now let's override the default values for the `tagLabelFontSize` variable:
|
Now let's override the default values for the `tagLabelFontSize` variable:
|
||||||
|
|
||||||
```mermaid-example
|
```mermaid-example
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'default' , 'themeVariables': {
|
---
|
||||||
'commitLabelColor': '#ff0000',
|
config:
|
||||||
'commitLabelBackground': '#00ff00',
|
logLevel: 'debug'
|
||||||
'tagLabelFontSize': '16px'
|
theme: 'default'
|
||||||
} } }%%
|
themeVariables:
|
||||||
|
commitLabelColor: '#ff0000'
|
||||||
|
commitLabelBackground: '#00ff00'
|
||||||
|
tagLabelFontSize: '16px'
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
commit
|
commit
|
||||||
branch develop
|
branch develop
|
||||||
@@ -1817,11 +1997,15 @@ Now let's override the default values for the `tagLabelFontSize` variable:
|
|||||||
```
|
```
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'default' , 'themeVariables': {
|
---
|
||||||
'commitLabelColor': '#ff0000',
|
config:
|
||||||
'commitLabelBackground': '#00ff00',
|
logLevel: 'debug'
|
||||||
'tagLabelFontSize': '16px'
|
theme: 'default'
|
||||||
} } }%%
|
themeVariables:
|
||||||
|
commitLabelColor: '#ff0000'
|
||||||
|
commitLabelBackground: '#00ff00'
|
||||||
|
tagLabelFontSize: '16px'
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
commit
|
commit
|
||||||
branch develop
|
branch develop
|
||||||
@@ -1846,11 +2030,15 @@ Example:
|
|||||||
Now let's override the default values for the `tagLabelColor`, `tagLabelBackground` and to `tagLabelBorder` variables:
|
Now let's override the default values for the `tagLabelColor`, `tagLabelBackground` and to `tagLabelBorder` variables:
|
||||||
|
|
||||||
```mermaid-example
|
```mermaid-example
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'default' , 'themeVariables': {
|
---
|
||||||
'tagLabelColor': '#ff0000',
|
config:
|
||||||
'tagLabelBackground': '#00ff00',
|
logLevel: 'debug'
|
||||||
'tagLabelBorder': '#0000ff'
|
theme: 'default'
|
||||||
} } }%%
|
themeVariables:
|
||||||
|
tagLabelColor: '#ff0000'
|
||||||
|
tagLabelBackground: '#00ff00'
|
||||||
|
tagLabelBorder: '#0000ff'
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
commit
|
commit
|
||||||
branch develop
|
branch develop
|
||||||
@@ -1867,11 +2055,15 @@ Now let's override the default values for the `tagLabelColor`, `tagLabelBackgrou
|
|||||||
```
|
```
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'default' , 'themeVariables': {
|
---
|
||||||
'tagLabelColor': '#ff0000',
|
config:
|
||||||
'tagLabelBackground': '#00ff00',
|
logLevel: 'debug'
|
||||||
'tagLabelBorder': '#0000ff'
|
theme: 'default'
|
||||||
} } }%%
|
themeVariables:
|
||||||
|
tagLabelColor: '#ff0000'
|
||||||
|
tagLabelBackground: '#00ff00'
|
||||||
|
tagLabelBorder: '#0000ff'
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
commit
|
commit
|
||||||
branch develop
|
branch develop
|
||||||
@@ -1898,9 +2090,13 @@ Example:
|
|||||||
Now let's override the default values for the `git0` to `git3` variables:
|
Now let's override the default values for the `git0` to `git3` variables:
|
||||||
|
|
||||||
```mermaid-example
|
```mermaid-example
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'default' , 'themeVariables': {
|
---
|
||||||
'gitInv0': '#ff0000'
|
config:
|
||||||
} } }%%
|
logLevel: 'debug'
|
||||||
|
theme: 'default'
|
||||||
|
themeVariables:
|
||||||
|
'gitInv0': '#ff0000'
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
commit
|
commit
|
||||||
branch develop
|
branch develop
|
||||||
@@ -1917,9 +2113,13 @@ Now let's override the default values for the `git0` to `git3` variables:
|
|||||||
```
|
```
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'default' , 'themeVariables': {
|
---
|
||||||
'gitInv0': '#ff0000'
|
config:
|
||||||
} } }%%
|
logLevel: 'debug'
|
||||||
|
theme: 'default'
|
||||||
|
themeVariables:
|
||||||
|
'gitInv0': '#ff0000'
|
||||||
|
---
|
||||||
gitGraph
|
gitGraph
|
||||||
commit
|
commit
|
||||||
branch develop
|
branch develop
|
||||||
|
Reference in New Issue
Block a user