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