UNPKG

@rxflow/manhattan

Version:

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

16 lines 836 B
/** * ReactFlow Manhattan Router * * A Manhattan routing algorithm adapted for ReactFlow from AntV X6. * Generates orthogonal (right-angle) paths that intelligently avoid obstacles. * * @packageDocumentation */ export { getManHattanPath } from './getManHattanPath'; export type { GetManHattanPathParams } from './getManHattanPath'; export type { Direction, InternalNode, NodeLookup, ManhattanRouterOptions, ResolvedOptions, } from './options'; export { Point, Rectangle, Line } from './geometry'; export { getGrid, align, snapToGrid, getDirectionAngle, getDirectionChange, getRectPoints, getCost, getKey, reconstructRoute, normalizePoint, getNodeDimensions, getNodePosition, } from './utils'; export type { NodeDimensions } from './utils'; export { pointsToPath, snapPathToGrid } from './svg'; //# sourceMappingURL=index.d.ts.map