@rxflow/manhattan
Version:
Manhattan routing algorithm for ReactFlow - generates orthogonal paths with obstacle avoidance
45 lines (44 loc) • 1.05 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "Line", {
enumerable: true,
get: function () {
return _Line.Line;
}
});
Object.defineProperty(exports, "Point", {
enumerable: true,
get: function () {
return _Point.Point;
}
});
Object.defineProperty(exports, "Rectangle", {
enumerable: true,
get: function () {
return _Rectangle.Rectangle;
}
});
Object.defineProperty(exports, "lineSegmentCrossesRect", {
enumerable: true,
get: function () {
return _collision.lineSegmentCrossesRect;
}
});
Object.defineProperty(exports, "lineSegmentIntersectsRect", {
enumerable: true,
get: function () {
return _collision.lineSegmentIntersectsRect;
}
});
Object.defineProperty(exports, "lineSegmentsIntersect", {
enumerable: true,
get: function () {
return _collision.lineSegmentsIntersect;
}
});
var _Point = require("./Point");
var _Rectangle = require("./Rectangle");
var _Line = require("./Line");
var _collision = require("./collision");