Commit 9dd21f49 by zhaochengxiang

关系图样式调整

parent 5617df3e
...@@ -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) };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment