UNPKG

@xyflow/svelte

Version:

Svelte Flow - A highly customizable Svelte library for building node-based editors, workflow systems, diagrams and more.

12 lines (11 loc) 273 B
import type { InternalNode } from '../types'; /** * Hook to get an internal node by id. * * @public * @param id - the node id * @returns An internal node or undefined */ export declare function useInternalNode(id: string): { current: InternalNode | undefined; };