@logicflow/core 1.0.0-alpha.10 → 1.0.0-alpha.11

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.0.0-alpha.10",
3
+ "version": "1.0.0-alpha.11",
4
4
  "description": "LogicFlow core, to quickly build flowchart editor",
5
5
  "main": "dist/logic-flow.js",
6
6
  "unpkg": "dist/logic-flow.js",
@@ -37,7 +37,7 @@ declare class BaseEdgeModel implements IBaseModel {
37
37
  [propName: string]: any;
38
38
  constructor(data: EdgeConfig, graphModel: GraphModel);
39
39
  /**
40
- * @overridable 可以重写
40
+ * @overridable 支持重写
41
41
  * 初始化边数据
42
42
  * initNodeData和setAttributes的区别在于
43
43
  * initNodeData只在节点初始化的时候调用,用于初始化节点的所有属性。
@@ -93,7 +93,6 @@ declare class BaseEdgeModel implements IBaseModel {
93
93
  getProperties(): Record<string, any>;
94
94
  /**
95
95
  * 获取被保存时返回的数据
96
- * @overridable 支持重写
97
96
  */
98
97
  getData(): EdgeData;
99
98
  setProperty(key: any, val: any): void;
@@ -3,6 +3,7 @@ import BaseNode from './BaseNode';
3
3
  export default class HtmlNode extends BaseNode {
4
4
  ref: HTMLElement;
5
5
  currrentProperties: string;
6
+ preProperties: string;
6
7
  setRef: (dom: any) => void;
7
8
  get rootEl(): HTMLElement;
8
9
  /**