feat: Add "Fit to View" functionality and enhance graph filtering in WikiBrowser

- Introduced a new "Fit to View" action in the WikiBrowser component, allowing users to automatically adjust the graph display to fit the visible area.
- Implemented graph filtering capabilities, enabling users to toggle the visibility of different node types, improving the overall interactivity and usability of the graph interface.
- Updated localization files for English, Korean, Russian, and Chinese to include the new "Fit to View" message, ensuring consistent user experience across languages.

These enhancements significantly improve the user experience by providing better control over graph visualization and interaction.
This commit is contained in:
wizardchen
2026-04-09 17:07:14 +08:00
parent ae25c97807
commit 8dd50de8d4
5 changed files with 239 additions and 25 deletions
+1
View File
@@ -1630,6 +1630,7 @@ export default {
sources: 'Source documents',
recentActivity: 'Recent Activity',
graphEmpty: 'Loading graph...',
fitView: 'Fit to View',
logTitle: 'Activity Log',
indexTitle: 'Index',
graphNoData: 'No graph data yet. Upload documents first.',
+1
View File
@@ -2153,6 +2153,7 @@ export default {
sources: "원본 문서",
recentActivity: "최근 활동",
graphEmpty: "그래프 로딩 중...",
fitView: "화면에 맞춤",
logTitle: '활동 로그',
indexTitle: '인덱스',
graphNoData: '그래프 데이터가 없습니다. 먼저 문서를 업로드하세요.',
+1
View File
@@ -1832,6 +1832,7 @@ export default {
sources: 'Исходные документы',
recentActivity: 'Последняя активность',
graphEmpty: 'Загрузка графа...',
fitView: 'По размеру экрана',
logTitle: 'Журнал активности',
indexTitle: 'Индекс',
graphNoData: 'Нет данных графа. Сначала загрузите документы.',
+1
View File
@@ -2138,6 +2138,7 @@ export default {
sources: "来源文档",
recentActivity: "最近活动",
graphEmpty: "加载图谱中...",
fitView: "适应屏幕",
logTitle: '日志',
indexTitle: '索引',
graphNoData: '暂无图谱数据,请先上传文档',