useEdges
Source on GitHub (opens in a new tab)
The useEdges
hook returns an array of the current edges store.
<script lang="ts">
import { useEdges } from '@xyflow/svelte';
const edges = useEdges();
</script>
Signature
Name | Type |
---|---|
#Returns |
|
The current edge store. |