Skip to content

Commit c423a57

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

File tree

17 files changed

+109
-49
lines changed

17 files changed

+109
-49
lines changed

Backend/index.md

Lines changed: 34 additions & 2 deletions
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

Lines changed: 4 additions & 0 deletions
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

Lines changed: 4 additions & 7 deletions
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

Lines changed: 0 additions & 32 deletions
This file was deleted.

Frontend/UI1.md

Lines changed: 29 additions & 0 deletions
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

Lines changed: 21 additions & 0 deletions
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.

0 commit comments

Comments
 (0)