[PR #323] [MERGED] Enrich visualization notebook to showcase new capabilities #1386

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraph/pull/323
Author: @angeligareta
Created: 4/18/2024
Status: Merged
Merged: 4/18/2024
Merged by: @nfcampos

Base: mainHead: improve_visualization_notebook


📝 Commits (10+)

  • 6570fd0 Fix get_graph method to define conditional edges
  • f1eca30 Update visualization notebook to showcase new capabilities for mermaid rendering (syntax and PNG), as well as removing conditional nodes
  • 7f826ab Fix linting
  • 99c2754 Fix tests due to change of style for conditional edges. Migrate ascii to snapshot for system compatiblity
  • c5ecd18 Update langchain_core
  • 63125fe Snapshot updated
  • d925736 Snapshot updated for python 3.11
  • 3fb6519 Remove graph from repo
  • 38d990c Merge branch 'main' into improve_visualization_notebook
  • 3edf7e4 Fix

📊 Changes

7 files changed (+1028 additions, -551 deletions)

View changed files

📝 examples/visualization.ipynb (+369 -57)
📝 langgraph/graph/graph.py (+4 -2)
📝 poetry.lock (+4 -4)
📝 tests/__snapshots__/test_pregel.ambr (+447 -231)
tests/__snapshots__/test_pregel_async.ambr (+174 -0)
📝 tests/test_pregel.py (+23 -163)
📝 tests/test_pregel_async.py (+7 -94)

📄 Description

  • Fix get_graph method to define conditional edges
  • Update visualization notebook to showcase new capabilities for mermaid rendering (syntax and PNG), as well as removing conditional nodes.
  • Fix tests due to change of style for conditional edges. Migrate ascii to snapshot for system compatibility (issue when running it with Mac when specified on the test file.

🔄 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/323 **Author:** [@angeligareta](https://github.com/angeligareta) **Created:** 4/18/2024 **Status:** ✅ Merged **Merged:** 4/18/2024 **Merged by:** [@nfcampos](https://github.com/nfcampos) **Base:** `main` ← **Head:** `improve_visualization_notebook` --- ### 📝 Commits (10+) - [`6570fd0`](https://github.com/langchain-ai/langgraph/commit/6570fd0ccb64273435321ca91812f6b0258d58c3) Fix get_graph method to define conditional edges - [`f1eca30`](https://github.com/langchain-ai/langgraph/commit/f1eca30912dd7c91abd18781df606e43815acb71) Update visualization notebook to showcase new capabilities for mermaid rendering (syntax and PNG), as well as removing conditional nodes - [`7f826ab`](https://github.com/langchain-ai/langgraph/commit/7f826abaa233aaf8bff145717eb220d9cac5410f) Fix linting - [`99c2754`](https://github.com/langchain-ai/langgraph/commit/99c27541564ab8faee72f1f19182185af7b1bad8) Fix tests due to change of style for conditional edges. Migrate ascii to snapshot for system compatiblity - [`c5ecd18`](https://github.com/langchain-ai/langgraph/commit/c5ecd1831203ea7f611dc66d8a5e4f4dd4ef1369) Update langchain_core - [`63125fe`](https://github.com/langchain-ai/langgraph/commit/63125fe7a72f75d3d8a920808e77a9408b7f6ddd) Snapshot updated - [`d925736`](https://github.com/langchain-ai/langgraph/commit/d92573674129e69e39413d8109c32329995652a9) Snapshot updated for python 3.11 - [`3fb6519`](https://github.com/langchain-ai/langgraph/commit/3fb6519886274096d10f8f0b554dc7f1b54f8935) Remove graph from repo - [`38d990c`](https://github.com/langchain-ai/langgraph/commit/38d990cf99dc105a747fe6d8695f275548d0060c) Merge branch 'main' into improve_visualization_notebook - [`3edf7e4`](https://github.com/langchain-ai/langgraph/commit/3edf7e4d7372f0a426cc1f3c5fd24bd3d176a0d3) Fix ### 📊 Changes **7 files changed** (+1028 additions, -551 deletions) <details> <summary>View changed files</summary> 📝 `examples/visualization.ipynb` (+369 -57) 📝 `langgraph/graph/graph.py` (+4 -2) 📝 `poetry.lock` (+4 -4) 📝 `tests/__snapshots__/test_pregel.ambr` (+447 -231) ➕ `tests/__snapshots__/test_pregel_async.ambr` (+174 -0) 📝 `tests/test_pregel.py` (+23 -163) 📝 `tests/test_pregel_async.py` (+7 -94) </details> ### 📄 Description * Fix get_graph method to define conditional edges * Update visualization notebook to showcase new capabilities for mermaid rendering (syntax and PNG), as well as removing conditional nodes. * Fix tests due to change of style for conditional edges. Migrate ascii to snapshot for system compatibility (issue when running it with Mac when specified on the test file. --- <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:44:36 -05:00
yindo closed this issue 2026-02-20 17:44:36 -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#1386