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>
签名
名称 | 类型 |
---|---|
#参数 |
|
# id | 字符串 |
#返回值 |
|
InternalNode |