'use client';
import { jsx as _jsx } from "react/jsx-runtime";
import { BaseEdge, getBezierPath } from '@xyflow/react';
/**
 * Custom React Flow edge for parent→child feature dependencies.
 * Uses bezier curves and dashed style matching repo→feature edges.
 */
export function DependencyEdge(props) {
    const [edgePath] = getBezierPath({
        sourceX: props.sourceX,
        sourceY: props.sourceY,
        targetX: props.targetX,
        targetY: props.targetY,
        sourcePosition: props.sourcePosition,
        targetPosition: props.targetPosition,
    });
    return (_jsx(BaseEdge, { id: props.id, path: edgePath, style: {
            strokeDasharray: '5 5',
        } }));
}
