zack commited on
Commit
a96854e
·
1 Parent(s): bee606f

chore: remove src/components/Edges/CustomLine.js 🧹

Browse files
frontend/src/components/Edges/CustomLine.js DELETED
@@ -1,36 +0,0 @@
1
- import React from 'react';
2
- import { getBezierPath } from 'react-flow-renderer';
3
-
4
- const CustomLine = ({
5
- sourceX,
6
- sourceY,
7
- sourcePosition,
8
- targetX,
9
- targetY,
10
- targetPosition,
11
- connectionLineType,
12
- connectionLineStyle,
13
- }) => {
14
-
15
- const edgePath = getBezierPath({
16
- sourceX,
17
- sourceY,
18
- sourcePosition,
19
- targetX,
20
- targetY,
21
- targetPosition,
22
- });
23
- return (
24
- <g>
25
- <path
26
- fill="none"
27
- stroke="#00FF4A"
28
- strokeWidth={7}
29
- className="animated"
30
- d={edgePath}
31
- />
32
- </g>
33
- );
34
- };
35
-
36
- export default CustomLine;