yangdx
cdd69845c9
Remove grapOperation.ts
2025-04-15 13:04:51 +08:00
yangdx
28d26c3a4a
refactor: improve graph property update mechanism
...
- Move graph data and UI state update logic into store
- Ensure all property updates trigger PropertiesView refresh
- Add graphDataVersion dependency to PropertiesView
- Follow React best practices by avoiding direct UI state modification in utility functions
- Fix issue where non-entity_id property changes weren't reflected in UI
2025-04-15 12:41:51 +08:00
yangdx
f58fb43f67
Fix Neo4j node and edge edit problem
2025-04-15 12:41:41 +08:00
choizhang
7e3e685763
feat(graph): Add editing function for entity and relationship attributes
2025-04-12 00:48:19 +08:00
choizhang
81355481c1
feat: Add legend components and toggle buttons
2025-04-03 22:42:13 +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
6aab0eaea2
Remove unused shouldRender state and related rendering control logic
2025-03-19 13:07:16 +08:00
yangdx
7d4390af96
Remove graphSearchTypes.ts, move OptionItem type to GraphSearch.tsx
2025-03-16 03:01:36 +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
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
fdaf199b15
Fix linting and upate webui assets
2025-03-15 00:33:53 +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
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
496a208bf9
Update comment translations to English
2025-03-14 01:00:40 +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
yangdx
e30162e50a
Minimized API request between Tab view change
2025-03-13 19:50:37 +08:00
yangdx
642d17b774
Moved refreshLayout from settings to graph store.
2025-03-13 09:44:51 +08:00
yangdx
727b137506
Limit the search scope to labels in the current subgraph
...
- Decouple datasource label selection from the search input field
- Improve label selection handling logic
2025-03-13 00:20:53 +08:00
yangdx
330f608fa9
Fix linting
2025-03-12 18:55:15 +08:00
yangdx
215dd76a46
Fix duplicate api requuests for graph fetching
...
- Optimize graph data fetching conditions
- Add isFetching state to prevent duplicate requests
- Improve label selection handling
2025-03-12 18:53:28 +08:00
yangdx
ee0700d288
Ensure seamless toggling between selected labels and the complete graph
2025-03-12 08:52:28 +08:00
yangdx
b9e22ef64d
Refactor graph label handling to extract labels directly from graph data
...
- Remove redundant label caching logic
- Add graphLabels state to graph store
2025-03-12 07:15:54 +08:00
ArnoChen
70fc4cbfb0
handle missing edge types in graph data
2025-02-15 00:34:38 +08:00
ArnoChen
85e6989abc
move lightrag_webui folder to top directory
2025-02-13 17:29:51 +08:00