mirror of
https://github.com/chartdb/chartdb.git
synced 2025-10-23 07:11:56 +00:00
fix(performance): Only render visible (#672)
This commit is contained in:
@@ -826,6 +826,7 @@ export const Canvas: React.FC<CanvasProps> = ({ initialTables }) => {
|
||||
<CanvasContextMenu>
|
||||
<div className="relative flex h-full" id="canvas">
|
||||
<ReactFlow
|
||||
onlyRenderVisibleElements
|
||||
colorMode={effectiveTheme}
|
||||
className="canvas-cursor-default nodes-animated"
|
||||
nodes={nodes}
|
||||
|
Reference in New Issue
Block a user