We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Codes used (Typescript, just change let by var):
let holder = document.getElementById('mermaidHolder'); while (holder.firstChild) { holder.removeChild(holder.firstChild); } let node = document.createElement('div'); node.className = 'mermaid'; node.appendChild(document.createTextNode('My mermaid string')); holder.appendChild(node); mermaid.init();
When you call that the first time, all goes well.
If you don't change your mermaid string, all goes well.
But If you change your mermaid string, then the graph displays your older nodes, without the links.
If you change it again, the new nodes are appended to the existing ones.
If you change it again and take the first value back, then the nodes stay and the links are applied to your first value.
The text was updated successfully, but these errors were encountered:
I'm sorry, it was a problem on my side.
I'm closing this, there's no error.
Sorry, something went wrong.
No branches or pull requests
Codes used (Typescript, just change let by var):
When you call that the first time, all goes well.
If you don't change your mermaid string, all goes well.
But If you change your mermaid string, then the graph displays your older nodes, without the links.
If you change it again, the new nodes are appended to the existing ones.
If you change it again and take the first value back, then the nodes stay and the links are applied to your first value.
The text was updated successfully, but these errors were encountered: