@antv/layout 0.3.4 → 0.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -41,7 +41,7 @@ export class Force2Layout extends Base {
41
41
  /** 阻尼系数 */
42
42
  this.damping = 0.9;
43
43
  /** 最大速度 */
44
- this.maxSpeed = 100;
44
+ this.maxSpeed = 500;
45
45
  /** 一次迭代的平均移动距离小于该值时停止迭代 */
46
46
  this.minMovement = 0.4;
47
47
  /** 迭代中衰减 */
@@ -71,7 +71,7 @@ var Force2Layout = /** @class */ (function (_super) {
71
71
  /** 阻尼系数 */
72
72
  _this.damping = 0.9;
73
73
  /** 最大速度 */
74
- _this.maxSpeed = 100;
74
+ _this.maxSpeed = 500;
75
75
  /** 一次迭代的平均移动距离小于该值时停止迭代 */
76
76
  _this.minMovement = 0.4;
77
77
  /** 迭代中衰减 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antv/layout",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "description": "graph layout algorithm",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -69,7 +69,7 @@ export class Force2Layout extends Base {
69
69
  public damping: number = 0.9;
70
70
 
71
71
  /** 最大速度 */
72
- public maxSpeed: number = 100;
72
+ public maxSpeed: number = 500;
73
73
 
74
74
  /** 一次迭代的平均移动距离小于该值时停止迭代 */
75
75
  public minMovement: number = 0.4;