feat: sample diagram and docs for gitgraph (#751)

This commit is contained in:
Yash Singh
2022-04-19 13:30:31 -07:00
committed by GitHub
parent fc18174abc
commit 7c6dd2dd2d
2 changed files with 17 additions and 1 deletions
+13 -1
View File
@@ -79,7 +79,19 @@
section Go home
Go downstairs: 5: Me
Sit down: 3: Me
`
`,
'Git Graph': ` gitGraph
commit
commit
branch develop
checkout develop
commit
commit
checkout main
merge develop
commit
commit
`
};
const loadSampleDiagram = (diagramType: string): void => {
+4
View File
@@ -59,6 +59,10 @@
},
journey: {
code: '/#/user-journey'
},
gitGraph: {
code: '/#/gitgraph',
config: '/#/gitgraph?id=gitgraph-specific-configuration-options'
}
};
let text = '';