@logicflow/core
Advanced tools
Comparing version 1.2.8 to 1.2.9
{ | ||
"name": "@logicflow/core", | ||
"version": "1.2.8", | ||
"version": "1.2.9", | ||
"description": "LogicFlow core, to quickly build flowchart editor", | ||
@@ -5,0 +5,0 @@ "main": "dist/entry.js", |
@@ -314,2 +314,10 @@ import BaseNodeModel from './node/BaseNodeModel'; | ||
/** | ||
* 如果有文案了,当节点移动引起文案位置修改时,找出当前文案位置与最新边距离最短距离的点 | ||
* 最大程度保持节点位置不变且在边上 | ||
* @param edgeModel 边的数据管理类 | ||
* @param x X轴移动距离 | ||
* @param y Y轴移动距离 | ||
*/ | ||
handleEdgeTextMove(edgeModel: BaseEdgeModel, x: number, y: number): void; | ||
/** | ||
* 删除两节点之间的边 | ||
@@ -316,0 +324,0 @@ * @param sourceNodeId 边的起始节点 |
@@ -30,3 +30,3 @@ import BaseNode from '../model/node/BaseNodeModel'; | ||
export declare const pointDirection: (point: PolyPoint, bbox: PBBox) => Direction; | ||
export declare const getExpandedBBoxPoint: (bbox: PBBox, point: PolyPoint) => PolyPoint; | ||
export declare const getExpandedBBoxPoint: (expendBBox: PBBox, bbox: PBBox, point: PolyPoint) => PolyPoint; | ||
export declare const mergeBBox: (b1: PBBox, b2: PBBox) => PBBox; | ||
@@ -33,0 +33,0 @@ export declare const getBBoxOfPoints: (points?: PolyPoint[], offset?: number) => PBBox; |
Sorry, the diff of this file is too big to display
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
1147059
4784