@logicflow/core 1.1.24 → 1.1.25

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.1.24",
3
+ "version": "1.1.25",
4
4
  "description": "LogicFlow core, to quickly build flowchart editor",
5
5
  "main": "dist/entry.js",
6
6
  "module": "dist/logic-flow.js",
@@ -185,6 +185,7 @@ export default class BaseNodeModel implements IBaseNodeModel {
185
185
  getAnchorInfo(anchorId: string): PointAnchor;
186
186
  addNodeMoveRules(fn: NodeMoveRule): void;
187
187
  move(deltaX: any, deltaY: any, isIgnoreRule?: boolean): boolean;
188
+ getMoveDistance(deltaX: number, deltaY: number, isIgnoreRule?: boolean): [number, number];
188
189
  moveTo(x: any, y: any, isIgnoreRule?: boolean): boolean;
189
190
  moveText(deltaX: any, deltaY: any): void;
190
191
  updateText(value: string): void;