UNPKG

@xyflow/react

Version:

React Flow - A highly customizable React library for building node-based editors and interactive flow charts.

17 lines 764 B
import type { MouseEvent as ReactMouseEvent, SVGAttributes } from 'react'; import { Position } from '@xyflow/system'; export interface EdgeAnchorProps extends SVGAttributes<SVGGElement> { position: Position; centerX: number; centerY: number; radius?: number; onMouseDown: (event: ReactMouseEvent<SVGGElement, MouseEvent>) => void; onMouseEnter: (event: ReactMouseEvent<SVGGElement, MouseEvent>) => void; onMouseOut: (event: ReactMouseEvent<SVGGElement, MouseEvent>) => void; type: string; } /** * @internal */ export declare function EdgeAnchor({ position, centerX, centerY, radius, onMouseDown, onMouseEnter, onMouseOut, type, }: EdgeAnchorProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=EdgeAnchor.d.ts.map