Skip to content

Commit 6b0776e

Browse files
authored
Fix typo in graph edge construction code (#5985)
1 parent 8e858d7 commit 6b0776e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

langchain-core/src/runnables/graph_mermaid.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,11 @@ export function drawMermaid(
114114
return acc;
115115
}, [])
116116
.join("<br>");
117-
if (edge.conditional) {
118-
edgeLabel = ` -. ${edgeData} .-> `;
119-
} else {
120-
edgeLabel = ` -- ${edgeData} --> `;
121-
}
117+
}
118+
if (edge.conditional) {
119+
edgeLabel = ` -. ${edgeData} .-> `;
120+
} else {
121+
edgeLabel = ` -- ${edgeData} --> `;
122122
}
123123
} else {
124124
if (edge.conditional) {

0 commit comments

Comments
 (0)