Skip to content

Releases: sim51/react-sigma

v3.0.3

26 Sep 09:32
Compare
Choose a tag to compare

Fixes

  • Fix remove listeners on useRegisterEvents hook.

v3.0.2

25 Sep 18:08
Compare
Choose a tag to compare

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 to true
  • 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 renamed updated
  • Property initialSettings on component SigmaContainer has been renamed settings

Fixes

  • Fix touch events - #28 (thanks to @grothendeick)
  • Fix autoRunFor on layout worker when value is set to 0 (ie. no timer)
  • Fix CSS for borders issues

v3.0.1

25 Sep 17:47
Compare
Choose a tag to compare

Version 3.0.1 has missing files in npm binaries.

v3.0.0

25 Sep 17:48
Compare
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
Compare
Choose a tag to compare
  • Fix repository url in package.json

v2.0.1

06 Mar 14:08
Compare
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
Compare
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
Compare
Choose a tag to compare

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

v1.2.0

22 Nov 08:24
Compare
Choose a tag to compare

This release contains :