mirror of
https://github.com/hwchase17/langchain
synced 2024-11-10 01:10:59 +00:00
core[patch]: fix edge labels for mermaid graphs (#26201)
This commit is contained in:
parent
9bd4f1dfa8
commit
1b3bd52e0e
@ -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 = " -.-> "
|
||||
|
Loading…
Reference in New Issue
Block a user