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