@logicflow/core 1.2.0-alpha.10 → 1.2.0-alpha.13

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@logicflow/core",
3
- "version": "1.2.0-alpha.10",
3
+ "version": "1.2.0-alpha.13",
4
4
  "description": "LogicFlow core, to quickly build flowchart editor",
5
5
  "main": "dist/entry.js",
6
6
  "unpkg": "dist/logic-flow.min.js",
@@ -19,14 +19,6 @@ export default class LogicFlow {
19
19
  * 只读:logicflow实例挂载的容器。
20
20
  */
21
21
  container: HTMLElement;
22
- /**
23
- * 只读:画布宽度
24
- */
25
- width: number;
26
- /**
27
- * 只读:画布高度
28
- */
29
- height: number;
30
22
  /**
31
23
  * 只读:控制整个logicflow画布的model
32
24
  */
@@ -69,11 +69,11 @@ export interface EditConfigInterface {
69
69
  */
70
70
  multipleSelectKey?: string;
71
71
  /**
72
- * 拖动节点靠近画布边缘时,
72
+ * 拖动节点或者连线靠近画布边缘时,
73
73
  * 是否自动扩张画布.
74
74
  * 默认false。
75
75
  */
76
- autoExpand?: string;
76
+ autoExpand?: boolean;
77
77
  }
78
78
  /**
79
79
  * 页面编辑配置