import { Handle, Position } from '@xyflow/react'; import React from 'react'; import styles from './index.less'; const DEFAULT_HANDLE_STYLE = { width: 6, height: 6, bottom: -5, fontSize: 8, }; interface IProps extends React.PropsWithChildren { top: number; right: number; id: string; idx?: number; } const CategorizeHandle = ({ top, right, id, children }: IProps) => { return ( {children || id} ); }; export default CategorizeHandle;