Using diagram api to add gitGraph

This commit is contained in:
Knut Sveidqvist
2022-07-18 16:00:03 +02:00
parent 0d4b09a0a0
commit 4c30e03f1e
27 changed files with 946 additions and 706 deletions

View File

@@ -209,7 +209,7 @@ const setParseErrorHandler = function (newParseErrorHandler) {
const mermaid = {
startOnLoad: true,
htmlLabels: true,
diagrams: {},
mermaidAPI,
parse: mermaidAPI != undefined ? mermaidAPI.parse : null,
render: mermaidAPI != undefined ? mermaidAPI.render : null,