mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-06 19:04:56 -05:00
27 lines
516 B
TypeScript
27 lines
516 B
TypeScript
import { Box } from '@chakra-ui/react';
|
|
import { ReactFlowProvider } from 'reactflow';
|
|
import 'reactflow/dist/style.css';
|
|
|
|
import { memo } from 'react';
|
|
import { Flow } from './Flow';
|
|
|
|
const NodeEditor = () => {
|
|
return (
|
|
<Box
|
|
layerStyle={'first'}
|
|
sx={{
|
|
position: 'relative',
|
|
width: 'full',
|
|
height: 'full',
|
|
borderRadius: 'base',
|
|
}}
|
|
>
|
|
<ReactFlowProvider>
|
|
<Flow />
|
|
</ReactFlowProvider>
|
|
</Box>
|
|
);
|
|
};
|
|
|
|
export default memo(NodeEditor);
|