UNPKG

@react-sigma/layout-random

Version:
11 lines (10 loc) 412 B
import { RandomLayoutOptions } from 'graphology-layout/random'; /** * React hook that helps you to manage [random layout](https://graphology.github.io/standard-library/layout.html#random). * * ```typescript * const { positions, assign } = useLayoutRandom(...); *``` * @category Hook */ export declare function useLayoutRandom(options?: RandomLayoutOptions): import("@react-sigma/layout-core").LayoutHook;