diff --git a/src/outils_graph.py b/src/outils_graph.py
index 776d5a974370c0d8aa9795c68f62900840870827..7b4aae024989e6ac35f556ec60d57dfa96285440 100644
--- a/src/outils_graph.py
+++ b/src/outils_graph.py
@@ -73,7 +73,7 @@ def generate_graph_mermaid(filename, dico, label_node = True, label_edge = True,
         return txt
     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)