mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-16 23:13:31 +00:00
core[patch]: fix edge labels for mermaid graphs (#26201)
This commit is contained in:
@@ -119,9 +119,9 @@ def draw_mermaid(
|
||||
for i in range(0, len(words), wrap_label_n_words)
|
||||
)
|
||||
if edge.conditional:
|
||||
edge_label = f" -.  {edge_data}  .-> "
|
||||
edge_label = f" -. {edge_data} .-> "
|
||||
else:
|
||||
edge_label = f" --  {edge_data}  --> "
|
||||
edge_label = f" -- {edge_data} --> "
|
||||
else:
|
||||
if edge.conditional:
|
||||
edge_label = " -.-> "
|
||||
|
Reference in New Issue
Block a user