UNPKG

@xyflow/svelte

Version:

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

11 lines (10 loc) 242 B
import type { ConnectionState } from '@xyflow/system'; /** * Hook for receiving the current connection. * * @public * @returns Current connection as a signal */ export declare function useConnection(): { current: ConnectionState; };