Skip to content

Commit

Permalink
refactor: update image widths in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ouhammmourachid committed Aug 10, 2024
1 parent 526329c commit 1056889
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ pip install mermaid-py
import mermaid as md
from mermaid.graph import Graph

graph = Graph('example-flowchart',"""
sequence = Graph('Sequence-diagram',"""
stateDiagram-v2
[*] --> Still
Still --> [*]
Expand All @@ -57,8 +57,8 @@ stateDiagram-v2
Moving --> Crash
Crash --> [*]
""")
rendered_graph = md.Mermaid(graph)
rendered_graph # !! note this only works in the notebook that rendered the html.
render = md.Mermaid(sequence)
render # !! note this only works in the notebook that rendered the html.
```

<p align="center">
Expand Down

0 comments on commit 1056889

Please sign in to comment.