Skip to content

Commit

Permalink
fixed title bug
Browse files Browse the repository at this point in the history
  • Loading branch information
abjjabjj committed Nov 21, 2024
1 parent bb4c42d commit a0eaf73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/concrete-core/concrete/projects/dag_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def draw_mermaid(
flowchart = f"flowchart {direction}\n"

if title is not None:
flowchart = flowchart + f"---\ntitle: {title}\n---\n"
flowchart = f"---\ntitle: {title}\n---\n" + flowchart

remove_whitespace: Callable[[str], str] = lambda string: "".join(string.split())
get_child: Callable[[tuple[str, str, Callable]], str] = lambda edge: edge[0]
Expand Down

0 comments on commit a0eaf73

Please sign in to comment.