We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5da0df4 commit f7e8fcdCopy full SHA for f7e8fcd
notebooks/utils/utils.py
@@ -71,5 +71,14 @@ def check_index_ready(collection: Collection, index_name: str) -> None:
71
print(f"{index_name} index status: {status}")
72
time.sleep(SLEEP_TIMER)
73
74
-def visualize_graph(graph):
75
- display(Image(graph.draw_mermaid_png()))
+def visualize_graph(app):
+ """
76
+ Visualize the graph of the application using Mermaid.
77
+
78
+ Args:
79
+ app: The application instance containing the graph to visualize.
80
81
+ Returns:
82
+ None
83
84
+ display(Image(app.get_graph().draw_mermaid_png()))
0 commit comments