Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
szse
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhaochengxiang
szse
Commits
9dd21f49
Commit
9dd21f49
authored
Mar 10, 2022
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
关系图样式调整
parent
5617df3e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
Relation.jsx
src/view/Manage/AssetBrowse/Component/Relation.jsx
+1
-2
No files found.
src/view/Manage/AssetBrowse/Component/Relation.jsx
View file @
9dd21f49
...
@@ -2,7 +2,6 @@ import React from 'react';
...
@@ -2,7 +2,6 @@ import React from 'react';
import
Chart
from
'@antv/chart-node-g6'
;
import
Chart
from
'@antv/chart-node-g6'
;
import
G6
from
'@antv/g6'
;
import
G6
from
'@antv/g6'
;
import
{
isSzseEnv
}
from
'../../../../util'
;
import
centerImg
from
'../assets/center.png'
;
import
centerImg
from
'../assets/center.png'
;
import
expandImg
from
'../assets/expand.png'
;
import
expandImg
from
'../assets/expand.png'
;
...
@@ -75,7 +74,7 @@ const init = (ctx) => function (container, data, onCenterClick, onExpandClick) {
...
@@ -75,7 +74,7 @@ const init = (ctx) => function (container, data, onCenterClick, onExpandClick) {
const
calcRaduis
=
(
node
)
=>
{
const
calcRaduis
=
(
node
)
=>
{
const
outerRaduis
=
(
isSzseEnv
?
20
:
30
)
const
outerRaduis
=
20
;
if
(
!
node
?.
levelId
)
return
{
innerRaduis
:
maxInnerRaduis
,
raduis
:
(
maxInnerRaduis
+
outerRaduis
)
};
if
(
!
node
?.
levelId
)
return
{
innerRaduis
:
maxInnerRaduis
,
raduis
:
(
maxInnerRaduis
+
outerRaduis
)
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment