Replies: 1 comment
-
I'm happy to contribute to a solution to this |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Checked
Feature request
When a chain includes multiple nodes of the same type, node_id is used to distinguish them. This results in output from draw_mermaid that is often ineffective, especially in complex chains."
Example:
Motivation
I am documenting the chains used in our current application and many if not all have duplicate nodes.
Proposal (If applicable)
Alter
langchain/libs/core/langchain_core/runnables/graph.py
Lines 423 to 448 in 9ccd4a6
so that node id is not returned but a more useful description. Perhaps disambiguate with a number ?
Beta Was this translation helpful? Give feedback.
All reactions