Skip to content
Snippets Groups Projects
Commit dfcb3616 authored by Bryan Brancotte's avatar Bryan Brancotte
Browse files

mermaid graphs should ends with .mmd extension

Following https://mermaid.js.org/ecosystem/integrations-create.html
parent 8ddd70da
No related branches found
No related tags found
1 merge request!3Improvements related to mermaid
...@@ -73,7 +73,7 @@ def generate_graph_mermaid(filename, dico, label_node = True, label_edge = True, ...@@ -73,7 +73,7 @@ def generate_graph_mermaid(filename, dico, label_node = True, label_edge = True,
return txt return txt
txt = get_graph_wo_operations_mermaid_temp(dico, txt, 0) txt = get_graph_wo_operations_mermaid_temp(dico, txt, 0)
with open(f"{filename}.md", "w") as text_file: with open(f"{filename}.mmd", "w") as text_file:
text_file.write(txt) text_file.write(txt)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment