useInternalNode()
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
Parameters:| Name | Type | Default | 
|---|---|---|
| id | stringthe node id | 
An internal node or undefined
| Name | Type | 
|---|---|
| current | InternalNode | undefined | 
Last updated on