Releases: sim51/react-sigma
Releases · sim51/react-sigma
v3.0.3
v3.0.2
Version 3.0.2
Features
- Adding peer dependencies to react, and allow version 17 & 18
- Upgrade general dependencies included sigma & graphology
- Set per default the sigma settings
allowInvalidContainer
totrue
- Better type management for events ( thanks to #1142 )
- Website with examples with code & preview
- Reset SearchControl when user click on the stage
Breaking changes
- Settings of forceAtlas2 has changed in the latest version of graphology
- Event
cameraUpdated
has been renamedupdated
- Property
initialSettings
on componentSigmaContainer
has been renamedsettings
Fixes
- Fix touch events - #28 (thanks to @grothendeick)
- Fix
autoRunFor
on layout worker when value is set to0
(ie. no timer) - Fix CSS for borders issues
v3.0.1
v3.0.0
v2.0.2
v2.0.1
This is the first release of the version 2 !
What's new ?
- Name has changed, it's now published under
@react-sigma
(instead ofreact-sigma-v2
). It makes more sense, specally with the point that follow - Project structure : it's a monorepo project with modules. We choose this architecture mainly for layouts, so you can import only the one (or none) that you need.
- Website has been completely rewritten : sim51.github.io/react-sigma/
New features
- Possibility to initialize the
SigmaContainer
with a graph - Adding all layouts that are available in graphology
- Adding hooks to manage camera, zoom, fullscreen, context. Standard component are using those hooks, so it's easy to rewrite them (if needed)
- Control component renderer can be fully customized
Breaking changes
- Sigma React div class name has changed from
react-sigma-v2
toreact-sigma
- Component
ForceAtlasControl
has been renameLayoutForceAtlasControl
- Components of type control don't take anymore properties to customize the DOM button. We use children instead now. For controls with multiple button, the child order is important.
<FullScreenControl customEnterFullScreen={<BsArrowsFullscreen />} customExitFullScreen={<BsFullscreenExit />} />
Becomes
<FullScreenControl>
<>
<BsArrowsFullscreen />
<BsFullscreenExit />
</>
</FullScreenControl>
v1.3.0
Upgrade to sigma 2.1 and support all the new events (mainly edge & wheel events)
Thanks to @akitaSummer for the PR.
v1.2.1
v1.2.0
This release contains :
- The upgrade to new major version of graphology 0.23
- Internal refactoring, by creating a hook folder
- Adding
tslib
as a dependency of the project - Handle more Sigma events (see https://github.com/sim51/react-sigma-v2/blob/main/src/types.ts#L20 )