UNPKG

@rxflow/manhattan

Version:

Manhattan routing algorithm for ReactFlow - generates orthogonal paths with obstacle avoidance

11 lines 377 B
import { Point } from '../geometry'; /** * Parse SVG path string to extract points * Simplified parser that handles M, L, Q commands */ export declare function parseSVGPath(pathString: string): Point[]; /** * Simplify path by removing collinear intermediate points */ export declare function simplifyPath(points: Point[]): Point[]; //# sourceMappingURL=pathParser.d.ts.map