@rxflow/manhattan
Version:
Manhattan routing algorithm for ReactFlow - generates orthogonal paths with obstacle avoidance
8 lines • 429 B
TypeScript
import { Point, Rectangle } from '../geometry';
import type { ResolvedOptions } from '../options';
import type { ObstacleMap } from '../obstacle';
/**
* Find route between two points using A* algorithm
*/
export declare function findRoute(sourceBBox: Rectangle, targetBBox: Rectangle, sourceAnchor: Point, targetAnchor: Point, map: ObstacleMap, options: ResolvedOptions): Point[] | null;
//# sourceMappingURL=findRoute.d.ts.map