Function: useWorkerLayoutForce()
useWorkerLayoutForce(
options
):LayoutWorkerHook
Defined in: packages/layout-force/src/useWorkerLayoutForce.ts:12
React hook that helps you to manage worker of force layout.
const { stop, start } = useWorkerLayoutForce(...);
Parameters
options
ForceLayoutSupervisorParameters
= {}
Returns
LayoutWorkerHook