@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
|
@@ -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;
|