Function: useLayoutFactory()
useLayoutFactory<
T
>(layout
,defaultSettings
):LayoutHook
<T
>
Factory for layout hook.
Type Parameters
• T
Parameters
• layout: GraphologyLayout
<T
>
• defaultSettings: T
Returns
LayoutHook
<T
>
useLayoutFactory<
T
>(layout
,defaultSettings
):LayoutHook
<T
>
Factory for layout hook.
• T
• layout: GraphologyLayout
<T
>
• defaultSettings: T
LayoutHook
<T
>