import { EdgeProps, getBezierPath, getMarkerEnd } from '../../src'; import { FunctionalComponent } from 'vue'; const CustomEdge: FunctionalComponent = ({ id, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, data, arrowHeadType, markerEndId }) => { const edgePath = getBezierPath({ sourceX, sourceY, sourcePosition, targetX, targetY, targetPosition }); const markerEnd = getMarkerEnd(arrowHeadType, markerEndId); return () => ( <> {data.text} ); }; export default CustomEdge;