Commit Graph

82 Commits

Author SHA1 Message Date
yangdx
648a024af2 Add node types 2025-04-08 13:38:06 +08:00
yangdx
11392fc20f Udate node types 2025-04-08 13:09:25 +08:00
yangdx
389abfe7e5 Update color 2025-04-08 12:46:23 +08:00
yangdx
f87dfd2067 Map node type to fix color 2025-04-08 12:41:33 +08:00
yangdx
1af97bbead Optimize node color 2025-04-08 12:41:33 +08:00
yangdx
0261ebcf51 Fix linting 2025-04-07 01:18:18 +08:00
yangdx
ad96bed7ac Change to undirected graph 2025-04-07 01:17:44 +08:00
yangdx
fe7b5ac13b Add edge size handling for nodeexpansion 2025-04-07 01:04:45 +08:00
yangdx
f5c1ad2c92 Optimize node corlor 2025-04-07 00:27:42 +08:00
yangdx
b94c1e406b Optimize node color 2025-04-06 23:04:45 +08:00
yangdx
9b7a8395b5 Optimize node color by pre-set colors 2025-04-06 22:01:05 +08:00
yangdx
7371516860 Add node cololr by type feature to node expansion 2025-04-06 17:07:20 +08:00
yangdx
b003d613ee Add initial value display for AsyncSelect 2025-04-06 15:53:04 +08:00
yangdx
11b93f1a25 Fix linting 2025-04-06 14:57:21 +08:00
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