@react-sigma/layout-random
Version:
React Sigma - Layout random
11 lines (10 loc) • 412 B
TypeScript
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;