本地logicflow依赖包

This commit is contained in:
Jam committed 2022-11-28 14:31:03 +08:00
1 parent 8ff82208ad
commit 30f225df00
290 files changed
+18624 -16276

No files matched your search

@@ -0,0 +1,21 @@
import { Point, PolylineEdgeModel, BaseNodeModel } from '@logicflow/core';
export declare const isInSegment: (point: any, start: any, end: any) => boolean;
export declare const corssPointInSegement: (node: BaseNodeModel, start: Point, end: Point) => {
startCrossPoint: {
x: number;
y: number;
};
endCrossPoint: {
x: number;
y: number;
};
};
interface SegementCross {
crossIndex: number;
crossPoints: {
startCrossPoint: Point;
endCrossPoint: Point;
};
}
export declare const isNodeInSegement: (node: BaseNodeModel, polyline: PolylineEdgeModel) => SegementCross;
export {};