<ZoomControl labels={{ zoomIn: "PLUS", zoomOut: "MINUS", reset: "RESET" }} />
mousemovebody
to useRegisterEvents
(thanks jakobhansen-blai !)sigma@2.4.0
graphology-layout-forceatlas2@0.10.1
SigmaContainer
useRegisterEvents
hook.allowInvalidContainer
to true
cameraUpdated
has been renamed updated
initialSettings
on component SigmaContainer
has been renamed settings
autoRunFor
on layout worker when value is set to 0
(ie. no timer)Version 3.0.1 has missing files in npm binaries.
This is the first release of the version 2 !
What's new ?@react-sigma
(instead of react-sigma-v2
). It makes more sense, specally with the point that followSigmaContainer
with a graphreact-sigma-v2
to react-sigma
ForceAtlasControl
has been rename LayoutForceAtlasControl
<FullScreenControl customEnterFullScreen={<BsArrowsFullscreen />} customExitFullScreen={<BsFullscreenExit />} />
Becomes
<FullScreenControl>
<>
<BsArrowsFullscreen />
<BsFullscreenExit />
</>
</FullScreenControl>