Files
automatisch/packages/web/src/components/EditorNew/InvisibleNode/InvisibleNode.jsx
2024-06-04 07:18:18 +00:00

20 lines
477 B
JavaScript

import { Handle, Position } from 'reactflow';
import { Box } from '@mui/material';
// This node is used for adding an edge with add node button after the last flow step node
function InvisibleNode() {
return (
<Box
maxWidth={900}
width="100vw"
className="nodrag"
sx={{ visibility: 'hidden' }}
>
<Handle type="target" position={Position.Top} isConnectable={false} />
Invisible node
</Box>
);
}
export default InvisibleNode;