mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-12 03:49:43 +02:00
@@ -78,7 +78,7 @@ const init = function() {
|
|||||||
mermaidAPI.updateSiteConfig({ gantt: mermaid.ganttConfig });
|
mermaidAPI.updateSiteConfig({ gantt: mermaid.ganttConfig });
|
||||||
}
|
}
|
||||||
|
|
||||||
const nextId = utils.initIdGeneratior(conf.deterministicIds, conf.deterministicIDSeed).next;
|
const idGeneratior = utils.initIdGeneratior(conf.deterministicIds, conf.deterministicIDSeed)
|
||||||
|
|
||||||
let txt;
|
let txt;
|
||||||
|
|
||||||
@@ -92,7 +92,7 @@ const init = function() {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
const id = `mermaid-${nextId()}`;
|
const id = `mermaid-${idGeneratior.next()}`;
|
||||||
|
|
||||||
// Fetch the graph definition including tags
|
// Fetch the graph definition including tags
|
||||||
txt = element.innerHTML;
|
txt = element.innerHTML;
|
||||||
|
Reference in New Issue
Block a user