chunk-YLUMGFNX.js 454 B

123456789101112131415161718
  1. import {
  2. getOrientation
  3. } from "./chunk-7FXQS3I2.js";
  4. // node_modules/.pnpm/bpmn-js@16.3.2/node_modules/bpmn-js/lib/features/snapping/BpmnSnappingUtil.js
  5. function getBoundaryAttachment(position, targetBounds) {
  6. var orientation = getOrientation(position, targetBounds, -15);
  7. if (orientation !== "intersect") {
  8. return orientation;
  9. } else {
  10. return null;
  11. }
  12. }
  13. export {
  14. getBoundaryAttachment
  15. };
  16. //# sourceMappingURL=chunk-YLUMGFNX.js.map