regenerate ids when needed via programmatic api, this makes sure for mermaid diagrams ids are regenerated
This commit is contained in:
@@ -140,7 +140,7 @@ const MermaidToExcalidraw = ({
|
||||
mermaidToExcalidrawLib.current.graphToExcalidraw(mermaidGraphData);
|
||||
|
||||
data.current = {
|
||||
elements: convertToExcalidrawElements(elements),
|
||||
elements: convertToExcalidrawElements(elements, true),
|
||||
files,
|
||||
};
|
||||
const parent = canvasNode.parentElement!;
|
||||
|
||||
Reference in New Issue
Block a user