Function: ControlsContainer()
ControlsContainer(
props
,context
?):ReactNode
The ControlsContainer
is just a wrapper for other control components.
It defines their position and also their style with its CSS class react-sigma-controls
.
<SigmaContainer>
<ControlsContainer position={"bottom-right"}>
<ForceAtlasControl autoRunFor={2000} />
</ControlsContainer>
</SigmaContainer>
See [[ControlsContainerProps]] for more information.
Parameters
• props: ControlsContainerProps
• context?: any
Returns
ReactNode
Defined in
packages/core/src/components/controls/ControlsContainer.tsx:44