Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
risk-monitor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
蔡建
risk-monitor
Commits
f2d57e97
提交
f2d57e97
authored
3月 08, 2026
作者:
coderBryanFu
浏览文件
操作
浏览文件
下载
差异文件
feat:update
上级
3632a471
bcccf598
全部展开
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
10 行增加
和
11 行删除
+10
-11
package-lock.json
package-lock.json
+0
-0
package.json
package.json
+4
-0
RelationGraph.vue
...nction/components/deepMining/components/RelationGraph.vue
+6
-11
没有找到文件。
package-lock.json
浏览文件 @
f2d57e97
差异被折叠。
点击展开。
package.json
浏览文件 @
f2d57e97
...
...
@@ -18,7 +18,11 @@
"author"
:
""
,
"license"
:
"MIT"
,
"dependencies"
:
{
<<<<<<<
HEAD
"@antv/g6"
:
"^5.0.51"
,
=======
"@antv/g6"
:
"^4.8.24"
,
>>>>>>>
bcccf
5986756021846
ec
7
ffd
1850352
eae
45
f
26
c
"@element-plus/icons-vue"
:
"^2.3.1"
,
"@kangc/v-md-editor"
:
"^2.3.18"
,
"@microsoft/fetch-event-source"
:
"^2.0.1"
,
...
...
src/views/exportControl/v2.0SingleSanction/components/deepMining/components/RelationGraph.vue
浏览文件 @
f2d57e97
<
template
>
<div
class=
"relation-graph-wrapper"
>
<div
class=
"graph-controls"
>
<div
v-for=
"item in controlBtns"
:key=
"item.type"
<div
v-for=
"item in controlBtns"
:key=
"item.type"
:class=
"['control-btn',
{ 'control-btn-active': currentLayoutType === item.type }]"
@click="handleClickControlBtn(item.type)"
>
@click="handleClickControlBtn(item.type)">
<img
:src=
"item.icon"
alt=
""
/>
</div>
</div>
...
...
@@ -33,10 +30,8 @@
<
script
setup
>
import
{
ref
,
onMounted
,
onUnmounted
,
watch
,
nextTick
}
from
'vue'
// import G6 from '@antv/g6'
import
G6
from
'@antv/g6/dist/g6.min'
;
import
{
Graph
,
TreeGraph
}
from
'@antv/g6'
import
{
Close
}
from
'@element-plus/icons-vue'
import
echartsIcon01
from
'../assets/echartsicon01.png'
import
echartsIcon02
from
'../assets/echartsicon02.png'
import
echartsIcon03
from
'../assets/echartsicon03.png'
...
...
@@ -108,7 +103,7 @@ const initNormalGraph = (layoutType, width, height) => {
alphaMin
:
0.001
}
graphInstance
.
value
=
new
G
6
.
G
raph
({
graphInstance
.
value
=
new
Graph
({
container
:
containerRef
.
value
,
width
,
height
,
...
...
@@ -237,7 +232,7 @@ const initCircularGraph = (width, height) => {
centerNode
.
fy
=
centerY
}
graphInstance
.
value
=
new
G
6
.
G
raph
({
graphInstance
.
value
=
new
Graph
({
container
:
containerRef
.
value
,
width
,
height
,
...
...
@@ -343,7 +338,7 @@ const initTreeGraph = (width, height) => {
if
(
!
treeDataSource
)
return
graphInstance
.
value
=
new
G6
.
TreeGraph
({
graphInstance
.
value
=
new
TreeGraph
({
container
:
containerRef
.
value
,
width
,
height
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论