import { useTheme } from '@/components/theme-provider'; import { cn } from '@/lib/utils'; import { ListRestart } from 'lucide-react'; import { Handle, NodeProps, NodeResizeControl, Position } from 'reactflow'; import { NodeData } from '../../interface'; import { LeftHandleStyle, RightHandleStyle } from './handle-icon'; import styles from './index.less'; import NodeHeader from './node-header'; function ResizeIcon() { return ( ); } const controlStyle = { background: 'transparent', border: 'none', }; export function IterationNode({ id, data, isConnectable = true, selected, }: NodeProps) { const { theme } = useTheme(); return (
); } export function IterationStartNode({ isConnectable = true, selected, }: NodeProps) { const { theme } = useTheme(); return (
); }