Function: useLayoutForce()
useLayoutForce(
settings
?):object
React hook that helps you to manage force layout.
const { positions, assign } = useLayoutForce(...);
Parameters
• settings?: ForceLayoutParameters
Returns
object
assign()
assign: () =>
void
Returns
void
positions()
positions: () =>
object
Returns
object