@rxflow/manhattan
Version:
Manhattan routing algorithm for ReactFlow - generates orthogonal paths with obstacle avoidance
10 lines • 383 B
TypeScript
import { Point } from '../geometry';
/**
* Convert array of points to SVG path string
*/
export declare function pointsToPath(points: Point[], precision: number, borderRadius?: number): string;
/**
* Snap path to grid by aligning consecutive points
*/
export declare function snapPathToGrid(points: Point[], gridSize: number): Point[];
//# sourceMappingURL=pathConverter.d.ts.map