[PR #1022] [MERGED] Only render end node if there is an edge leading to it #1842

Closed
opened 2026-02-20 17:45:40 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraph/pull/1022
Author: @nfcampos
Created: 7/15/2024
Status: Merged
Merged: 7/15/2024
Merged by: @nfcampos

Base: mainHead: nc/15jul/graph-end-node-opt


📝 Commits (1)

  • 73dd542 Only render end node if there is an edge leading to it

📊 Changes

2 files changed (+98 additions, -91 deletions)

View changed files

📝 libs/langgraph/langgraph/graph/graph.py (+15 -8)
📝 libs/langgraph/tests/__snapshots__/test_pregel.ambr (+83 -83)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/langgraph/pull/1022 **Author:** [@nfcampos](https://github.com/nfcampos) **Created:** 7/15/2024 **Status:** ✅ Merged **Merged:** 7/15/2024 **Merged by:** [@nfcampos](https://github.com/nfcampos) **Base:** `main` ← **Head:** `nc/15jul/graph-end-node-opt` --- ### 📝 Commits (1) - [`73dd542`](https://github.com/langchain-ai/langgraph/commit/73dd5425f854e9b9e7295dd098eb1ac3918ea61a) Only render end node if there is an edge leading to it ### 📊 Changes **2 files changed** (+98 additions, -91 deletions) <details> <summary>View changed files</summary> 📝 `libs/langgraph/langgraph/graph/graph.py` (+15 -8) 📝 `libs/langgraph/tests/__snapshots__/test_pregel.ambr` (+83 -83) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-20 17:45:40 -05:00
yindo closed this issue 2026-02-20 17:45:41 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraph#1842