feat: Add arrow toggle functionality in WikiBrowser component

Implemented new features in the WikiBrowser component to allow users to toggle the visibility of arrows on graph edges. This includes:

1. **Localization Updates**: Added translations for "Show arrows" and "Hide arrows" in English, Korean, Russian, and Chinese.
2. **Graph Rendering Enhancements**: Introduced logic to dynamically update SVG line attributes based on the toggle state, improving visual clarity in graph representations.
3. **State Management**: Added reactive state management for arrow visibility, ensuring seamless user interaction.

These changes enhance the user experience by providing more control over graph visualizations.
This commit is contained in:
wizardchen
2026-04-07 21:21:48 +08:00
parent d4d005422d
commit 0e28b2448c
11 changed files with 609 additions and 55 deletions
+2
View File
@@ -1836,6 +1836,8 @@ export default {
graphEmpty: 'Загрузка графа...',
logTitle: 'Журнал активности',
graphNoData: 'Нет данных графа. Сначала загрузите документы.',
showArrows: 'Показать стрелки',
hideArrows: 'Скрыть стрелки',
healthCheck: 'Проверка здоровья',
},
buttons: {