Skip to content

Commit b61346b

Browse files
committed
new ver update doc
1 parent 7d1adde commit b61346b

16 files changed

+104
-44
lines changed

Backend/index.md

+34-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,41 @@
22

33
The core file that convert json to LangGraph is [/src/WorkFlow.py](https://github.com/LangGraph-GUI/LangGraph-GUI-backend/blob/main/src/WorkFlow.py)
44

5-
This use Flask server to communicate with frontend.
5+
[llm.py](https://github.com/LangGraph-GUI/LangGraph-GUI-backend/blob/main/src/llm.py) demo how to replace to different LLM services.
66

7-
Current implementation only runs graph.json, need frontend upload.
7+
## Json Format
8+
9+
json node format like this:
10+
you can extend ext to put your data, this is elastic design.
11+
for example, the ext.info is a ext and able to parse in our backend.
12+
```
13+
{
14+
"nodes": [
15+
{
16+
"uniq_id": "1",
17+
"nexts": [
18+
"2"
19+
],
20+
"type": "START",
21+
"name": "Node 1",
22+
"description": "",
23+
"tool": "",
24+
"true_next": null,
25+
"false_next": null,
26+
"ext": {
27+
"pos_x": 126,
28+
"pos_y": 146,
29+
"width": 200,
30+
"height": 200,
31+
"info": ""
32+
}
33+
},
34+
```
35+
36+
37+
This use FastAPI server to communicate with frontend.
38+
39+
Current implementation only runs graph.json.
840

941
*For a beginner-friendly introduction to LangGraph, visit [LangGraph-learn](https://github.com/LangGraph-GUI/LangGraph-learn).*
1042

Frontend/Graph.md

+4
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,7 @@ CONDITION node will mapping to LangGraph conditional_edge
4040
## Other Resource
4141
*If you want to learn more about LangGraph, we have LangGraph for dummy : [LangGraph-learn](https://github.com/LangGraph-GUI/LangGraph-learn)*
4242

43+
#### Information Node
44+
INFO node do nothing, just append info to previous stage output
45+
46+
![](images/info.webp)

Frontend/Run.md

+4-7
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,13 @@ layout: frontend
77
This will Run graph.json on server.
88
That is, you need upload graph.json first.
99

10-
![](./images/run.webp)
10+
![](./images/run_window.webp)
1111

1212
## Run
13-
Execute graph.json into LangGraph with Ollama.
14-
After Run, recommand download files.
13+
Execute graph.json into LangGraph with LLM.
14+
After Run, recommand get files from server.
1515

16-
## Stop
17-
To terminal remote running server. (Currently, many bugs. If stuck, plese restart docker compose)
18-
19-
## Cancel
16+
## Leave
2017
Leave run menu
2118

2219
## Text Space

Frontend/UI.md

-32
This file was deleted.

Frontend/UI1.md

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
layout: frontend
3+
4+
---
5+
6+
7+
# UI
8+
9+
There are several buttoms
10+
![](./images/panel_major.webp)
11+
12+
## New Graph
13+
14+
New will clean the canvas.
15+
16+
## Save Graph
17+
18+
Save the graph into json to your computer.
19+
20+
## Load Graph
21+
Read the graph json from your computer.
22+
23+
## Run Graph
24+
Run graph.json on server, for more info, see [Run](./Run)
25+
26+
27+
## Config
28+
* set what llm you want to use
29+
* api key

Frontend/UI2.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
layout: frontend
3+
4+
---
5+
6+
7+
# UI
8+
9+
There are several buttoms
10+
![](./images/panel_server.webp)
11+
12+
## Upload Files to Server
13+
14+
Send file to workspace as environment, for such file processing.
15+
16+
## Get Files from Server
17+
18+
After process with LLM, download all files in workspace.
19+
20+
## Clean Server Cache
21+
Remove all files at workspace

Frontend/images/button.webp

-2.62 KB
Binary file not shown.

Frontend/images/info.webp

4.12 KB
Binary file not shown.

Frontend/images/panel_major.webp

3.24 KB
Binary file not shown.

Frontend/images/panel_server.webp

2.79 KB
Binary file not shown.

Frontend/images/run.webp

-25.7 KB
Binary file not shown.

Frontend/images/run_window.webp

25.1 KB
Binary file not shown.

Frontend/outline.html

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<h2>Frontend</h2>
22

33
<a href="/Frontend/">About</a></br>
4-
<a href="/Frontend/UI">UI</a></br>
5-
<a href="/Frontend/Graph">Graph</a></br>
4+
<a href="/Frontend/UI1">UI1</a></br>
5+
<a href="/Frontend/UI2">UI2</a></br>
6+
<a href="/Frontend/Graph">Graph UI</a></br>
67
<a href="/Frontend/Examples">Examples</a></br>
7-
<a href="/Frontend/Run">Run</a></br>
8+
<a href="/Frontend/Run">Run</a></br>

Others/index.md

+2
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ If you want to learn more about LangGraph, we also have [learning LangGraph for
77
We have Qt version: [LangGraph-GUI-Qt](https://github.com/LangGraph-GUI/LangGraph-GUI-Qt)
88

99
We also have Qt version of [CrewAI-GUI](https://github.com/LangGraph-GUI/CrewAI-GUI)
10+
11+
[Flask ver backend](https://github.com/LangGraph-GUI/LangGraph-GUI-backend-flask)

cover.webp

9.24 KB
Binary file not shown.

index.md

+6
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,9 @@ If you have any questions or would like to leave a message, please use our [GitH
1919

2020
We hope you find the information you need. If you have any questions, feel free to reach out!
2121

22+
23+
## Update log and future works:
24+
* [general log](https://github.com/LangGraph-GUI/LangGraph-GUI/blob/main/CHANGELOG.md)
25+
* [frontend log](https://github.com/LangGraph-GUI/LangGraph-GUI-frontend/blob/main/CHANGELOG.md)
26+
* [backend log](https://github.com/LangGraph-GUI/LangGraph-GUI-backend/blob/main/CHANGELOG.md)
27+
* [task manager](https://github.com/orgs/LangGraph-GUI/projects)

0 commit comments

Comments
 (0)