Closed varon closed 1 week ago
This is a glaring bug impacting us. Please address or explain what we need to do move forward here.
Thanks for reaching out & sorry for the long response, things are piling up.
Nothing too complex. Because of the wrong detector it thinks that you are trying to invoke flowchart-elk diagram.
But I understand how it looks from the outside.
%%{init: {'flowchart': {'defaultRenderer': 'elk'}}}%%
mindmap
("single item mindmap")
["Descendant node in my image"]
That's a bug for sure.
Description
This error was really incomprehensible to diagnose.
Setting the elk renderer in the mermaid config for
flowchart
breaks mindmaps escaping somehow.This works correctly:
This is broken (note this is ONLY set for flowchart):
but this works:
How? why?
Examples on GitHub of broken diagrams
This works - where we don't use the keyword
graph
inside the string label:This is broken:
Setup