Commit Graph

2695 Commits

Author SHA1 Message Date
yangdx
6f60c34d1e Fix linting 2025-03-16 03:06:33 +08:00
yangdx
7d4390af96 Remove graphSearchTypes.ts, move OptionItem type to GraphSearch.tsx 2025-03-16 03:01:36 +08:00
yangdx
29c32955c4 Update webui assets 2025-03-16 02:43:08 +08:00
yangdx
eb17a7782d fix: Replace global searchCache with Zustand state management 2025-03-16 02:40:48 +08:00
yangdx
6b2e4186ac refactor: remove legacy node expansion and pruning methods from graph store 2025-03-16 01:41:51 +08:00
yangdx
64dfa65455 refactor: reorder icons order in control bool bar 2025-03-15 23:45:23 +08:00
yangdx
ce6ad75b23 Simplify zoom control logic by using fixed ratio 2025-03-15 23:23:48 +08:00
yangdx
6c9270a8ad Update web assets 2025-03-15 22:54:18 +08:00
yangdx
1b5c3d5676 style: Update colors and button styles in PropertiesView component 2025-03-15 22:53:38 +08:00
yangdx
537961d3b6 Update webui assets 2025-03-15 22:30:12 +08:00
yangdx
55fc1914ff Change zoom reset animation duration from 500ms to 1000ms in ZoomControl 2025-03-15 22:29:58 +08:00
yangdx
59ac94c61d Improve graph state cleanup by fully resetting sigma instance on label change
• Modify reset logic to clear sigma instance
• Remove manual node deletion
• Update GraphLabels to use reset()
• Simplify state cleanup process
• Ensure complete graph refresh
2025-03-15 22:21:56 +08:00
yangdx
550b4d110c feat: add react-error-boundary package to web UI dependencies 2025-03-15 21:52:35 +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
4ea0b85a03 fix(graph): improve fit-to-screen calculation with proper padding and zero size check 2025-03-15 20:19:48 +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
4f4d7cbd4c Fix empty graph check problem of graph view load 2025-03-15 16:01:03 +08:00
yangdx
1d4b0242e8 Fix linting 2025-03-15 14:47:21 +08:00
yangdx
c5362d90e8 feat: Improve graph zoom reset to fit all nodes with proper scaling
- Add smarter node boundary calculation
- Include padding around graph nodes
- Calculate optimal scale ratio
- Add error handling and null checks
- Animate transition to new zoom level
2025-03-15 14:34:14 +08:00
yangdx
abda12f63b style: change double quotes to single quotes in ZoomControl.tsx 2025-03-15 11:45:10 +08:00
yangdx
f4fceca7f3 Refactor graph search to update search engin after node expand or prune 2025-03-15 10:52:47 +08:00
jofoks
912e70feb1 Updated chunk_id field to be a TEXT field 2025-03-14 11:03:28 -07:00
choizhang
5fef68b62f Language switching and merging
Add the webuiInitialize variable, dev: '', build:'/webui'
2025-03-15 00:52:21 +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
choizhang
b58729751a Merge branch 'improve-property-tooltip' into loginPage 2025-03-15 00:11:50 +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
zrguo
8f22c2f12b Create README-zh.md 2025-03-14 17:34:37 +08:00
choizhang
10c23aabfd Change to hash routing, webuiInitialize controls project prefix 2025-03-14 17:00:36 +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
zrguo
f5ab76dc4c fix linting 2025-03-14 14:10:59 +08:00
zrguo
fd70e55871 Merge pull request #1070 from lybtt/fix_stream
fix stream
2025-03-14 14:10:36 +08:00
zrguo
32f47286fd fix linting 2025-03-14 14:02:42 +08:00
zrguo
8642856da4 Merge pull request #1058 from coredevorg/docker-build-graspologic-patch
Fix graspologic build error in docker container
2025-03-14 14:01:42 +08:00
yangdx
eb11a3db27 Merge branch 'improve-property-tooltip' into feat-node-expand 2025-03-14 11:10:21 +08:00
pengjunfeng11
f53f07bcf4 Update code comments in ainsert method
Update code comments in ainsert method. The original comment was cut off in the middle, not a complete sentence, and cannot be read
2025-03-14 10:59:24 +08:00
jofoks
af88561713 Merge branch 'main' into fix--postgres-impl 2025-03-13 16:16:25 -07:00
yangdx
063ad8a35a Remove unused codes 2025-03-14 04:25:45 +08:00
yangdx
87366c63da Fix show node label settings error 2025-03-14 03:42:46 +08:00
yangdx
9b01d50823 Update webui assets 2025-03-14 03:34:32 +08:00
yangdx
2777715403 Fix edge event and show edge label error 2025-03-14 03:33:40 +08:00
jofoks
edc95126de Fixed some query parsing issues 2025-03-13 11:30:52 -07:00
yangdx
c9c9f3d911 Translate common property names to Chinese 2025-03-14 01:56:10 +08:00
yangdx
496a208bf9 Update comment translations to English 2025-03-14 01:00:40 +08:00