Skip to content

Releases: sim51/react-sigma

v3.0.0

25 Sep 17:48

Choose a tag to compare

Version 3.0.0

Version 3.0.0 has been partially published due npm OTP issue.
That's why the version 3.0.1 has been released.

v2.0.2

07 Mar 09:46

Choose a tag to compare

  • Fix repository url in package.json

v2.0.1

06 Mar 14:08

Choose a tag to compare

This is the first release of the version 2 !

What's new ?

  • Name has changed, it's now published under @react-sigma (instead of react-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 to react-sigma
  • Component ForceAtlasControl has been rename LayoutForceAtlasControl
  • 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

01 Dec 12:21

Choose a tag to compare

Upgrade to sigma 2.1 and support all the new events (mainly edge & wheel events)

Thanks to @akitaSummer for the PR.

v1.2.1

24 Nov 08:28

Choose a tag to compare

Thanks to @Adam4lexander for his PR (#14) on Webpack !

v1.2.0

22 Nov 08:24

Choose a tag to compare

This release contains :