UNPKG

@rxflow/manhattan

Version:

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

31 lines (30 loc) 721 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "parseSVGPath", { enumerable: true, get: function () { return _pathParser.parseSVGPath; } }); Object.defineProperty(exports, "pointsToPath", { enumerable: true, get: function () { return _pathConverter.pointsToPath; } }); Object.defineProperty(exports, "simplifyPath", { enumerable: true, get: function () { return _pathParser.simplifyPath; } }); Object.defineProperty(exports, "snapPathToGrid", { enumerable: true, get: function () { return _pathConverter.snapPathToGrid; } }); var _pathConverter = require("./pathConverter"); var _pathParser = require("./pathParser");