新增: 依赖图增强(添加依赖弹窗 + dagre 自动布局)

- 添加依赖入口:工具栏"+ 依赖"按钮,弹窗选择源/目标工程 + 依赖类型
- dagre 层次布局替换网格布局(LR 方向,自动排布工程节点)
- 依赖边按类型着色(library/api/mq/shared/custom)
- 小地图导航 + 缩放/适应内容
This commit is contained in:
2026-07-01 01:17:44 +08:00
parent bce2fea4e5
commit dd0e059365
3 changed files with 164 additions and 8 deletions

View File

@@ -13,11 +13,14 @@
"build:dev": "tauri build --debug --no-bundle"
},
"dependencies": {
"@antv/layout": "^2.0.0",
"@antv/x6": "^3.1.7",
"@antv/x6-vue-shape": "^3.0.2",
"@arco-design/web-vue": "^2.58.0",
"@tauri-apps/api": "^2",
"@tauri-apps/plugin-dialog": "^2.7.1",
"@types/dagre": "^0.7.54",
"dagre": "^0.8.5",
"dompurify": "^3.4.10",
"highlight.js": "^11.11.1",
"marked": "^18.0.5",