mirror of
https://gitee.com/antv/g6.git
synced 2024-12-04 20:59:15 +08:00
chore: update algorithm package to solve high cpu usage problem temporally;
This commit is contained in:
parent
01bdbe9db2
commit
a6d14add79
@ -58,7 +58,7 @@
|
||||
]
|
||||
},
|
||||
"dependencies": {
|
||||
"@antv/algorithm": "^0.1.5",
|
||||
"@antv/algorithm": "0.1.8-beta.5",
|
||||
"@antv/dom-util": "^2.0.1",
|
||||
"@antv/event-emitter": "~0.1.0",
|
||||
"@antv/g-base": "^0.5.1",
|
||||
|
@ -7,6 +7,7 @@ module.exports = Object.assign(
|
||||
watchOptions: {
|
||||
aggregateTimeout: 300,
|
||||
poll: 1000,
|
||||
ignored: /node_modules/,
|
||||
},
|
||||
},
|
||||
webpackConfig,
|
||||
|
@ -77,7 +77,7 @@
|
||||
"@antv/g6-core": "*",
|
||||
"@antv/g6-plugin": "*",
|
||||
"@antv/g6-element": "*",
|
||||
"@antv/algorithm": "^0.1.5",
|
||||
"@antv/algorithm": "0.1.8-beta.5",
|
||||
"@antv/hierarchy": "^0.6.7",
|
||||
"@antv/layout": "^0.1.12",
|
||||
"@antv/matrix-util": "^3.0.4",
|
||||
|
@ -7,6 +7,7 @@ module.exports = Object.assign(
|
||||
watchOptions: {
|
||||
aggregateTimeout: 300,
|
||||
poll: 1000,
|
||||
ignored: /node_modules/
|
||||
},
|
||||
},
|
||||
webpackConfig,
|
||||
|
@ -13,7 +13,7 @@ const graph = new G6.Graph({
|
||||
width: 1000,
|
||||
height: 600,
|
||||
layout: {
|
||||
type: 'random',
|
||||
type: 'forceAtlas2',
|
||||
width: 300,
|
||||
height: 300,
|
||||
},
|
||||
|
@ -13,7 +13,7 @@ const graph = new G6.Graph({
|
||||
width: 1000,
|
||||
height: 600,
|
||||
layout: {
|
||||
type: 'random',
|
||||
type: 'forceAtlas2',
|
||||
width: 300,
|
||||
height: 300,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user