mirror of
https://github.com/langchain-ai/langgraph-builder.git
synced 2026-07-16 00:53:28 -04:00
[PR #8] Save and Load Graph #10
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langchain-ai/langgraph-builder/pull/8
Author: @bsorrentino
Created: 3/22/2025
Status: 🔄 Open
Base:
main← Head:main📝 Commits (10+)
519d5a2refactor(generate-code): ♻️ enable read LANGGRAPH_API_URL from environmentfc5c2fefix: 🐛 sync last language choice wth multibutton7324f59feat(Flow.tsx): add load graph button and modal3c5228cfeat(api): ✨ add API endpoint to save graph25e3607feat(Flow): ✨ add load and save graph functionality0b58147feat: ✨ add LoadGraphModal component6c0c8ecfeat(Flow.tsx): add loading state while saving graph13551d4feat(Flow.tsx): add graph title input fieldf63579crefactor: ♻️ move Save and Load buttons to separate components1ef0dd0chore: 🔧 add workspace folder📊 Changes
6 files changed (+381 additions, -28 deletions)
View changed files
📝
src/components/Flow.tsx(+211 -25)➕
src/components/LoadGraphModal.tsx(+121 -0)📝
src/components/ui/multibutton.tsx(+9 -2)📝
src/pages/api/generate-code.ts(+2 -1)➕
src/pages/api/save-graph.ts(+38 -0)➕
workspace/.gitkeep(+0 -0)📄 Description
This PR mainly allows to Save and Load Graph. This partially resolve also the issue #6
It contains also 2 minor improvements :
https://github.com/user-attachments/assets/e47811fc-ac74-42d9-be40-95186fd627e5
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.