-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
149 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
layout: frontend | ||
|
||
--- | ||
|
||
# GUI Graph | ||
|
||
## Explanation | ||
|
||
#### Start Node | ||
A graph(json) only have one start node, this will mapping to LangGraph START | ||
|
||
![](images/start.webp) | ||
|
||
#### Step Node | ||
Step Node will mapping to LangGraph add_node, you can drag edge from left node(right port) to right node(left port) | ||
|
||
![](images/step.webp) | ||
|
||
if you drag two node toward to each other, can create cycle. | ||
|
||
#### Step Node with tool | ||
Step node fill tool will call function, the tool definition need a tool node | ||
|
||
![](images/use_tool.webp) | ||
|
||
#### Tool Node | ||
Tool node need write real python function code, and need `@tool` decorator like LangChain Custom Tools | ||
|
||
![](images/tool.webp) | ||
|
||
#### Contition Node | ||
CONDITION node will mapping to LangGraph conditional_edge | ||
|
||
* green edge is true case path | ||
* red edge is false case path | ||
|
||
![](images/condition.webp) | ||
|
||
## Other Resource | ||
*If you want to learn more about LangGraph, we have LangGraph for dummy : [LangGraph-learn](https://github.com/LangGraph-GUI/LangGraph-learn)* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
layout: frontend | ||
|
||
--- | ||
|
||
# Run Graph | ||
This will Run graph.json on server. | ||
That is, you need upload graph.json first. | ||
|
||
![](./images/run.webp) | ||
|
||
## Run | ||
Execute graph.json into LangGraph with Ollama. | ||
After Run, recommand download files. | ||
|
||
## Stop | ||
To terminal remote running server. (Currently, many bugs. If stuck, plese restart docker compose) | ||
|
||
## Cancel | ||
Leave run menu | ||
|
||
## Text Space | ||
Show infomation when server running |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
layout: frontend | ||
|
||
--- | ||
|
||
|
||
# UI | ||
|
||
There are several buttoms | ||
![](./images/button.webp) | ||
|
||
## New | ||
|
||
New will clean the canvas. | ||
|
||
## Save | ||
|
||
Save the graph into json to your computer. | ||
|
||
## Load | ||
Read the graph json from your computer. | ||
|
||
## Run | ||
Run graph.json on server, for more info, see [Run](./Run) | ||
|
||
## Upload | ||
a file to server env, for Run. | ||
* upload graph.json for Run on server | ||
* upload other file for workflow data | ||
|
||
## Download | ||
download all files from server such generated files and log file |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,14 @@ | ||
# LangGraph-GUI Frontend | ||
--- | ||
layout: frontend | ||
|
||
--- | ||
|
||
![](https://raw.githubusercontent.com/LangGraph-GUI/LangGraph-GUI-frontend/main/cover.webp) | ||
|
||
LangGraph-GUI is a user-friendly interface for managing and visualizing Node-Edge workflows with LangGraph. It supports creating, editing, and running workflows locally using language models by Ollama. | ||
# About Frontend | ||
|
||
This is node-edge based gui will export to json as saved graph. To execute json by LangGraph, you need to run [LangGraph-GUI-backend](https://github.com/LangGraph-GUI/LangGraph-GUI-backend) | ||
This is node-edge based gui will export to json as saved graph. | ||
|
||
*This is LangGraph-GUI ReactFlow frontend, If you want to run in docker compose, see [LangGraph-GUI](https://github.com/LangGraph-GUI/LangGraph-GUI)* | ||
|
||
*If you want to learn more about LangGraph, we have LangGraph for dummy : [LangGraph-learn](https://github.com/LangGraph-GUI/LangGraph-learn)* | ||
|
||
|
||
|
||
|
||
## Explanation | ||
|
||
#### Start Node | ||
A graph(json) only have one start node, this will mapping to LangGraph START | ||
|
||
![](images/start.webp) | ||
|
||
#### Step Node | ||
Step Node will mapping to LangGraph add_node, you can drag edge from left node(right port) to right node(left port) | ||
![](/cover.webp) | ||
|
||
![](images/step.webp) | ||
|
||
if you drag two node toward to each other, can create cycle. | ||
|
||
#### Step Node with tool | ||
Step node fill tool will call function, the tool definition need a tool node | ||
|
||
![](images/use_tool.webp) | ||
|
||
#### Tool Node | ||
Tool node need write real python function code, and need `@tool` decorator like LangChain Custom Tools | ||
|
||
![](images/tool.webp) | ||
|
||
#### Contition Node | ||
CONDITION node will mapping to LangGraph conditional_edge | ||
|
||
* green edge is true case path | ||
* red edge is false case path | ||
*This is LangGraph-GUI ReactFlow frontend, If you want to run in docker compose, see [LangGraph-GUI](https://github.com/LangGraph-GUI/LangGraph-GUI)* | ||
|
||
![](images/condition.webp) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<h2>Frontend</h2> | ||
|
||
<a href="/Frontend/">About</a></br> | ||
<a href="/Frontend/UI">UI</a></br> | ||
<a href="/Frontend/Graph">Graph</a></br> | ||
<a href="/Frontend/Run">Run</a></br> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,8 @@ defaults: | |
scope: | ||
path: "" | ||
values: | ||
layout: "base" | ||
layout: "page/note/basic" | ||
|
||
|
||
|
||
exclude: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
layout: base | ||
--- | ||
|
||
{% include sidebar.html%} | ||
|
||
<script> | ||
document.addEventListener('DOMContentLoaded', function() { | ||
fetch('/Frontend/outline.html') | ||
.then(response => response.text()) | ||
.then(data => { | ||
document.getElementById('outline').innerHTML = data; | ||
}); | ||
}); | ||
</script> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters