@rxflow/manhattan
Version:
Manhattan routing algorithm for ReactFlow - generates orthogonal paths with obstacle avoidance
9 lines • 479 B
TypeScript
import { Point, Rectangle } from '../geometry';
import type { ResolvedOptions, Direction } from '../options';
import type { Grid } from './grid';
/**
* Get points around a rectangle taking given directions into account
* Lines are drawn from anchor in given directions, intersections recorded
*/
export declare function getRectPoints(anchor: Point, bbox: Rectangle, directionList: Direction[], grid: Grid, options: ResolvedOptions): Point[];
//# sourceMappingURL=rect.d.ts.map