useInternalNode
Source on GitHub (opens in a new tab)
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
Name | Type |
---|---|
#Params |
|
# id | string |
#Returns |
|