Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
risk-monitor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
蔡建
risk-monitor
Commits
8811a094
提交
8811a094
authored
3月 08, 2026
作者:
付康
浏览文件
操作
浏览文件
下载
差异文件
合并分支 'pre' 到 'master'
fix g6 liuyuqi 查看合并请求
!141
上级
85dc600b
f8767279
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
6 行增加
和
5 行删除
+6
-5
RelationGraph.vue
...nction/components/deepMining/components/RelationGraph.vue
+6
-5
没有找到文件。
src/views/exportControl/v2.0SingleSanction/components/deepMining/components/RelationGraph.vue
浏览文件 @
8811a094
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
<
script
setup
>
<
script
setup
>
import
{
ref
,
onMounted
,
onUnmounted
,
watch
,
nextTick
}
from
'vue'
import
{
ref
,
onMounted
,
onUnmounted
,
watch
,
nextTick
}
from
'vue'
import
{
Graph
,
TreeGraph
}
from
'@antv/g6'
import
G6
from
'@antv/g6'
import
{
Close
}
from
'@element-plus/icons-vue'
import
{
Close
}
from
'@element-plus/icons-vue'
import
echartsIcon01
from
'../assets/echartsicon01.png'
import
echartsIcon01
from
'../assets/echartsicon01.png'
import
echartsIcon02
from
'../assets/echartsicon02.png'
import
echartsIcon02
from
'../assets/echartsicon02.png'
...
@@ -103,7 +103,7 @@ const initNormalGraph = (layoutType, width, height) => {
...
@@ -103,7 +103,7 @@ const initNormalGraph = (layoutType, width, height) => {
alphaMin
:
0.001
alphaMin
:
0.001
}
}
graphInstance
.
value
=
new
Graph
({
graphInstance
.
value
=
new
G
6
.
G
raph
({
container
:
containerRef
.
value
,
container
:
containerRef
.
value
,
width
,
width
,
height
,
height
,
...
@@ -232,7 +232,7 @@ const initCircularGraph = (width, height) => {
...
@@ -232,7 +232,7 @@ const initCircularGraph = (width, height) => {
centerNode
.
fy
=
centerY
centerNode
.
fy
=
centerY
}
}
graphInstance
.
value
=
new
Graph
({
graphInstance
.
value
=
new
G
6
.
G
raph
({
container
:
containerRef
.
value
,
container
:
containerRef
.
value
,
width
,
width
,
height
,
height
,
...
@@ -338,7 +338,7 @@ const initTreeGraph = (width, height) => {
...
@@ -338,7 +338,7 @@ const initTreeGraph = (width, height) => {
if
(
!
treeDataSource
)
return
if
(
!
treeDataSource
)
return
graphInstance
.
value
=
new
TreeGraph
({
graphInstance
.
value
=
new
G6
.
TreeGraph
({
container
:
containerRef
.
value
,
container
:
containerRef
.
value
,
width
,
width
,
height
,
height
,
...
@@ -793,4 +793,4 @@ defineExpose({
...
@@ -793,4 +793,4 @@ defineExpose({
}
}
}
}
}
}
</
style
>
</
style
>
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论