@logicflow/core
Advanced tools
Comparing version 0.7.1 to 0.7.2
@@ -6,2 +6,10 @@ # Change Log | ||
## [0.7.2](https://github.com/didi/LogicFlow/compare/@logicflow/core@0.7.1...@logicflow/core@0.7.2) (2021-10-22) | ||
**Note:** Version bump only for package @logicflow/core | ||
## [0.7.1](https://github.com/didi/LogicFlow/compare/@logicflow/core@0.7.1-alpha.0...@logicflow/core@0.7.1) (2021-10-21) | ||
@@ -8,0 +16,0 @@ |
{ | ||
"name": "@logicflow/core", | ||
"version": "0.7.1", | ||
"version": "0.7.2", | ||
"description": "LogicFlow core, to quickly build flowchart editor", | ||
@@ -84,3 +84,3 @@ "main": "dist/logic-flow.js", | ||
], | ||
"gitHead": "52610482acfe5bd7ada495beb992332b5078f965" | ||
"gitHead": "aab48d4f394bc9475525fe4019a8603f0ae8fcb7" | ||
} |
@@ -207,8 +207,15 @@ import GraphModel from './model/GraphModel'; | ||
/** | ||
* 修改节点的id, 如果 | ||
* @returns 是否修改成功 | ||
* 修改节点的id, 如果不传新的id,会内部自动创建一个。 | ||
* @param { string } oldId 将要被修改的id | ||
* @param { string } newId 可选,修改后的id | ||
* @returns 修改后的节点id | ||
*/ | ||
changeNodeId<T extends string>(oldId: string, newId?: T): false | T | string; | ||
/** | ||
* 修改连线的id, 如果不传新的id,会内部自动创建一个。 | ||
* @param { string } oldId 将要被修改的id | ||
* @param { string } newId 可选,修改后的id | ||
* @returns 修改后的节点id | ||
*/ | ||
changeEdgeId<T extends string>(oldId: string, newId?: T): false | T | string; | ||
updateGraphId(): void; | ||
/** | ||
@@ -215,0 +222,0 @@ * 更新流程图编辑相关设置 |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
620203
3999