diff --git a/src/rt/mermaid.h b/src/rt/mermaid.h index 5c47b9c..589e405 100644 --- a/src/rt/mermaid.h +++ b/src/rt/mermaid.h @@ -38,12 +38,7 @@ void mermaid(std::vector &roots, std::ostream &out) { out << " id" << visited[src] << " -->|" << key << "| "; } if (visited.find(dst) != visited.end()) { - if (visited[dst] == visited[src]) - /// Currently required due to - /// https://github.com/mermaid-js/mermaid/issues/5820 - out << "HasSelfEdge" << std::endl; - else - out << "id" << visited[dst] << std::endl; + out << "id" << visited[dst] << std::endl; return false; } auto curr_id = id++;