import { Flex } from 'antd'; import classNames from 'classnames'; import { Handle, NodeProps, Position } from 'reactflow'; import { Operator, operatorMap } from '../../constant'; import { NodeData } from '../../interface'; import styles from './index.less'; // TODO: do not allow other nodes to connect to this node export function BeginNode({ id, data, selected }: NodeProps) { return (
{data.label}
{data.name}
); }