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

useInternalNode()

Source on GitHub 

The useInternalNode hook returns an internal node. An internal node is used for advanced use cases like custom edges or layouting.

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

Signature

#Params
#id
string
#Returns
Last updated on