Commit Graph

66 Commits

Author SHA1 Message Date
yangdx
df0594852a Set queryLabel after query on page first load 2025-04-06 14:56:55 +08:00
yangdx
1b939493d2 Fix linting 2025-04-05 15:26:46 +08:00
yangdx
bfc28625aa Fix merge problem 2025-04-05 15:26:08 +08:00
yangdx
be87f27612 Fix merge conflicts 2025-04-05 15:13:42 +08:00
yangdx
9d6a3c281b Merge branch 'feat-node-color' into merge-node-color 2025-04-05 14:39:49 +08:00
yangdx
ae1e991724 Merge branch 'feat-edge-thickness' into merge-edge-thickness 2025-04-05 13:06:28 +08:00
yangdx
cc2d604782 Keep graph query label after 401 error for post-login data reload 2025-04-05 12:05:37 +08:00
yangdx
247be483eb Merge branch 'main' into clear-doc 2025-04-04 05:45:06 +08:00
choizhang
81355481c1 feat: Add legend components and toggle buttons 2025-04-03 22:42:13 +08:00
choizhang
312c5b16a5 refactor(useLightragGraph): Optimize node color generation logic 2025-04-03 21:35:28 +08:00
yangdx
419432d156 Update i18n translation 2025-04-03 00:14:21 +08:00
yangdx
1a1f934e27 Feat: replace min_degree with max_nodes in webui 2025-04-02 18:35:32 +08:00
choizhang
cd3817ce30 feat (graph settings): Add edge thickness range configuration function 2025-04-01 00:36:32 +08:00
choizhang
9518360021 fix(useLightragGraph): Change the label of the edge from type to keyword 2025-03-29 23:27:40 +08:00
yangdx
fe72b9d65d Updated relationships label in locale files. 2025-03-22 15:07:46 +08:00
yangdx
2ed5cdce5e Update the node size of the expanded node 2025-03-22 14:49:04 +08:00
yangdx
ebd73a54b9 Fix node size calculation bugs 2025-03-22 12:39:16 +08:00
yangdx
613c06c52b Fix max dgree calculation error in node expansion 2025-03-22 12:09:33 +08:00
yangdx
86709a5e8e Update webui assets 2025-03-22 11:40:52 +08:00
yangdx
133bc40735 Improve node size calculation logic for node expansion to prevent oversized 2025-03-22 11:39:46 +08:00
yangdx
2fd38381c0 Simplify log message for graph query 2025-03-22 11:29:04 +08:00
yangdx
101e1c907c Fix linting 2025-03-21 21:51:52 +08:00
yangdx
a5aa3da3bc Handle empty graph data and add empty graph hints
- Add empty data handling flag
- Display "Graph Is Empty" node
2025-03-21 21:49:36 +08:00
yangdx
35e00f1eb2 Fix: emtpy graph not display correctly after cleaning the database
- Improved graph validation with detailed checks
- Added empty graph state handling
- Enhanced label fetching and refresh logic
- Tracked last successful query label
- Optimized data fetching flow
2025-03-21 19:56:45 +08:00
yangdx
e9fc12042c Fetch all labels and graph data again on refresh 2025-03-20 01:37:26 +08:00
yangdx
0210170ecd Fix: graph label not set on grapview initial mount 2025-03-20 01:37:15 +08:00
yangdx
ffaa3493bd Update web assets 2025-03-19 13:52:38 +08:00
yangdx
61734313b2 Remove useless tab visibility checks from graph components 2025-03-19 13:51:15 +08:00
yangdx
6aab0eaea2 Remove unused shouldRender state and related rendering control logic 2025-03-19 13:07:16 +08:00
yangdx
3279948dcd Skip graph creation if no data or empty nodes
- Add log for skipped graph creation
2025-03-18 20:23:22 +08:00
yangdx
77c23a23e4 Added error logging for duplicate edges in rawGraph. 2025-03-18 09:51:53 +08:00
yangdx
07b13ee739 Prevent duplicate edges in Lightrag graph
- Check for reverse edge existence
2025-03-17 22:54:23 +08:00
yangdx
eb17a7782d fix: Replace global searchCache with Zustand state management 2025-03-16 02:40:48 +08:00
yangdx
bfbcdcb06a fix: improve graph zoom control and node expansion functionality
• Fix container padding in zoom calculation
• Extract node size update into helper fn
• Update node sizes for empty expansions
2025-03-15 20:40:22 +08:00
yangdx
b9dd53b1e3 Optimize node degree and size calculation for expanded graph nodes 2025-03-15 20:11:03 +08:00
yangdx
6555d5ac08 Optimize node spread animation with better spacing and randomized angle offset
• Adjust spread factor calculation
• Add debug logging
2025-03-15 18:06:47 +08:00
yangdx
a138000f0f Remove reduntant search engine update functions 2025-03-15 17:46:13 +08:00
yangdx
97696ddb76 Fix Graph TAB flickering issue in node expansion 2025-03-15 17:03:08 +08:00
yangdx
1d4b0242e8 Fix linting 2025-03-15 14:47:21 +08:00
yangdx
f4fceca7f3 Refactor graph search to update search engin after node expand or prune 2025-03-15 10:52:47 +08:00
yangdx
fdaf199b15 Fix linting and upate webui assets 2025-03-15 00:33:53 +08:00
yangdx
fc4582b260 Improve node layout by using polar coordinates for positioning expanded nodes 2025-03-15 00:32:40 +08:00
yangdx
413d201525 Fix refresh layout button failure 2025-03-15 00:00:29 +08:00
yangdx
5decd03e2e Avoid graphics flickering during node operations 2025-03-14 23:25:38 +08:00
yangdx
1ae65c9272 Refactor node expansion logic with improved degree and size calculation 2025-03-14 18:15:52 +08:00
yangdx
20c976584b Fix linting 2025-03-14 16:45:02 +08:00
yangdx
de016025ba Add Node Expansion and Pruning Features 2025-03-14 15:58:50 +08:00
yangdx
063ad8a35a Remove unused codes 2025-03-14 04:25:45 +08:00
yangdx
55d796c669 Fix linting 2025-03-14 00:03:45 +08:00
yangdx
b4d3da3b39 Optimize graph state management & performance for tab switching visibility
• Reset graph data without recreating instance
• Fix search result caching on graph updates
2025-03-13 21:56:31 +08:00