Skip to Content
💡 Legacy Notice: You're viewing Svelte Flow for Svelte 4. For the latest documentation, click here.
ReferenceHooksuseEdges()

useEdges()

Source on GitHub 

The useEdges hook returns an array of the current edges store.

<script lang="ts"> import { useEdges } from '@xyflow/svelte'; const edges = useEdges(); </script>

Signature

#Returns
The current edge store.
Last updated on