Liferay.Loader.define("portal-workflow-kaleo-designer-web@5.0.92/designer/js/definition-builder/diagram-builder/components/transitions/FloatingConnectionLine",["module","exports","require","liferay!frontend-js-react-web$react","portal-workflow-kaleo-designer-web$react-flow-renderer","./utils"],(function(e,t,r){window;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(r("liferay!frontend-js-react-web$react")),i=r("portal-workflow-kaleo-designer-web$react-flow-renderer"),n=r("./utils");var _default=({sourceNode:e,sourcePosition:t,targetPosition:r,targetX:a,targetY:l})=>{if(!e)return null;const{sx:s,sy:d}=(0,n.getEdgeParams)(e,{__rf:{height:1,position:{x:a,y:l},width:1},id:"connection-target"}),f=(0,i.getBezierPath)({sourcePosition:t,sourceX:s,sourceY:d,targetPosition:r,targetX:a,targetY:l});return o.default.createElement("g",null,o.default.createElement("path",{className:"animated",d:f,fill:"none",stroke:"#222",strokeWidth:1.5}),o.default.createElement("circle",{cx:a,cy:l,fill:"#fff",r:3,stroke:"#222",strokeWidth:1.5}))};t.default=_default}));
//# sourceMappingURL=FloatingConnectionLine.js.map