Commit Graph

22 Commits

Author SHA1 Message Date
choizhang
81355481c1 feat: Add legend components and toggle buttons 2025-04-03 22:42:13 +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
d7dfc914a4 Remove unused initAttemptedRef from GraphViewer 2025-03-19 13:23:45 +08:00
yangdx
6aab0eaea2 Remove unused shouldRender state and related rendering control logic 2025-03-19 13:07:16 +08:00
yangdx
bc4c16b06a Improve cleanup and state reset logic in GraphViewer and NavigationService.
- Add proper Sigma instance cleanup on unmount
- Ensure error handling for Sigma cleanup
2025-03-19 01:03:24 +08:00
yangdx
2753cbed97 Fix overflow issues in UI components
- Set overflow-hidden for main container
- Add overflow-auto to documents tab
- Add overflow-hidden to graph and retrieval tabs
- Set overflow-hidden for SigmaContainer
- Set overflow-hidden for retrieval testing container
2025-03-17 05:00:37 +08:00
yangdx
f4c6b00b4b Remove redundant sigma instance setup code in GraphViewer component
• Remove unused useLayoutEffect hook
2025-03-16 11:15:52 +08:00
yangdx
64dfa65455 refactor: reorder icons order in control bool bar 2025-03-15 23:45:23 +08:00
yangdx
fdaf199b15 Fix linting and upate webui assets 2025-03-15 00:33:53 +08:00
yangdx
5decd03e2e Avoid graphics flickering during node operations 2025-03-14 23:25:38 +08:00
yangdx
87366c63da Fix show node label settings error 2025-03-14 03:42:46 +08:00
yangdx
2777715403 Fix edge event and show edge label error 2025-03-14 03:33:40 +08:00
yangdx
55d796c669 Fix linting 2025-03-14 00:03:45 +08:00
yangdx
1864da4f45 fix: improve tab switching behavior to preserve WebGL context in graph viewer
• Force mount inactive tabs
• Maintain WebGL context across tab switches
• Add visibility styles to TabsContent
• Update conditional rendering logic
2025-03-13 22:03:54 +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
c1e931b9f2 Fix linting 2025-03-13 01:49:50 +08:00
yangdx
d06d3a20b1 Fix auto fit disabled afther zoom in or out manually
- Enhanced FocusOnNode component logic
- Added reset to default view when no node
- Updated mouse event handling for custom BBox
- Added sigmaRef for future use
- Triggered camera reset after graph updates
2025-03-13 00:34:20 +08:00
yangdx
c910ba1d28 Add SettingsDisplay component to show graph settings
- Create SettingsDisplay component
- Display graphQueryMaxDepth and graphMinDegree
- Position display at bottom-left corner
2025-03-12 06:10:48 +08:00
ArnoChen
c5f380986d implement API key alert 2025-02-17 01:59:36 +08:00
ArnoChen
1fe456666a add document manager and site heaer
clean

format
2025-02-15 23:29:30 +08:00