feat(svelte): add onlyRenderVisibleElements option

This commit is contained in:
moklick
2023-06-08 16:31:39 +02:00
parent 7e64969cd3
commit 0739528761
8 changed files with 33 additions and 5 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ A basic flow looks like this:
custom: CustomNode
};
// We are using writables for the nodes to sync them easily. When a user drags a node for example, Svelte Flow updates its position.
// We are using writables for the nodes and edges to sync them easily. When a user drags a node for example, Svelte Flow updates its position.
// This also makes it easier to update nodes in user land.
const nodes = writable([
{