Skip to content

Commit 5712f0c

Browse files
[fix]知识图谱抖动效果优化
1 parent 221bfa3 commit 5712f0c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/common/overlay/knowledge-graph/G6Render.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,9 @@ export class G6Render {
132132

133133
_getGraphConfig(config) {
134134
const animateConfig = {
135-
speed: 120,
136-
maxIteration: 120,
137-
tick: throttle(this.refreshPositions.bind(this), 120)
135+
speed: 150,
136+
maxIteration: 30,
137+
tick: throttle(this.refreshPositions.bind(this), 150)
138138
};
139139
const defaultLayout = {
140140
type: 'fruchterman',

0 commit comments

Comments
 (0)