We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 076f26a commit ea7ef3aCopy full SHA for ea7ef3a
CHANGELOG.md
@@ -1,5 +1,9 @@
1
# ChangeLog
2
3
+### 0.3.5
4
+
5
+- perf: adjust maxSpeed for force2;
6
7
### 0.3.4
8
9
- perf: improve the performance of dagre with layers;
package.json
@@ -1,6 +1,6 @@
{
"name": "@antv/layout",
- "version": "0.3.4",
+ "version": "0.3.5",
"description": "graph layout algorithm",
"main": "lib/index.js",
"module": "es/index.js",
src/layout/force2/index.ts
@@ -69,7 +69,7 @@ export class Force2Layout extends Base {
69
public damping: number = 0.9;
70
71
/** 最大速度 */
72
- public maxSpeed: number = 100;
+ public maxSpeed: number = 500;
73
74
/** 一次迭代的平均移动距离小于该值时停止迭代 */
75
public minMovement: number = 0.4;
0 commit comments