Function: ZoomControl()
ZoomControl(
props
,context
?):ReactNode
The ZoomControl
create three UI buttons that allows the user to
- zoom in
- zoom out
- reset zoom (ie. see the whole graph)
<SigmaContainer>
<ControlsContainer>
<ZoomControl />
</ControlsContainer>
</SigmaContainer>
See [[ZoomControlProps]] for more information.
Parameters
• props: ZoomControlProps
• context?: any
Returns
ReactNode