Function: useLayoutForceAtlas2()
useLayoutForceAtlas2(
options
):LayoutHook
Defined in: packages/layout-forceatlas2/src/useLayoutForceAtlas2.ts:12
React hook that helps you to manage force atlas2 layout.
const { positions, assign } = useLayoutForceAtlas2(...);
Parameters
options
ForceAtlas2SynchronousLayoutParameters
= ...
Returns
LayoutHook