Skip to main content

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

Defined in

layout-circlepack/src/useLayoutCirclepack.ts:13