Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-d3-graph

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-d3-graph - npm Package Versions

23

2.6.0

Diff

Changelog

Source

2.6.0 (2020-12-18)

Full Changelog

Implemented enhancements:

  • Arrow color go out of sync with link color when link.color or link.highlightColor is updated #360
  • Error: react-d3-graph :: Graph :: you have not provided enough data for react-d3-graph to render something. You need to provide at least one node #347
  • get x, y and other node informations with event onMouseOverNode() #306
  • Arrows don't point to nodes as expected #265
  • feature: expose node information to node related callbacks #385 (LonelyPrincess)
  • Don't throw error when there are no nodes #381 (LonelyPrincess)

Fixed bugs:

  • Some properties make the graph becomes unresetable #372
  • Node does not move/update when given coordinates or new coordinates #295

Closed issues:

  • Bendable links #373
  • High res pdf #356
  • Rendering graph with initial node positions doesn't properly place nodes without links #350
  • Enhance control on links appearance - support dashed links #343
  • Error when attempting to drag custom nodes #338
  • fontSize parameter should be working for single node #330
  • Adding the ability to completely freeze the graph #308

Merged pull requests:

danielcaldas
published 2.5.0 •

Changelog

Source

2.5.0

Full Changelog

Implemented enhancements:

  • make node.size accept both height and width #336

Fixed bugs:

  • Passing an empty data.links array throws a warning #323
  • renderLabel params are not working for single node #322
  • The release version does not contain some fixes #314

Closed issues:

  • Docs missing collapsible sandbox example #337
  • Multiple Edges between 2 nodes #335
  • Ability to display node labels in different positions relative to the node center #299

Merged pull requests:

danielcaldas
published 2.4.1 •

Changelog

Source

2.4.1

Full Changelog

Special announcement:

  • After https://github.com/DefinitelyTyped/DefinitelyTyped/pull/42240 being merged thanks to @hrngoode react-d3-graph is not available on DefinitelyTyped in case you use TypeScript. 🎉 🎉 🎉

Implemented enhancements:

  • Make link end marker's width and height configurable #238
  • Avoid flashing graph when drag&drop node #237
  • Make node.renderLabel available at node level #192

Sandbox & Documentation

  • Anchored links per each configuration property starting on version 2.4.0
  • Deleting node is sandbox breaks the demo if the number of nodes reaches 0 #287

Fixed bugs:

  • Collapsible node with no links errors out on click #292
  • Deleting node is sandbox breaks the demo if the number of nodes reaches 0 #287
  • onNodePositionChange doesn't always trigger #264
  • Custom node example is not loading on the sandbox #252
  • Not passing data.links breaks the library while it should throw a custom error #211

Closed issues:

  • automaticRearrangeAfterDropNode - play button from live demo #261
  • Improve live example by replacing all window.alerts by toasts or other non blocking alerts #241
  • Add tooltips to sandbox playground configs #239
  • Make use of jest .toMatchSnapshot in library unit tests #236
  • link.type only can make effect in global #234
  • Node drag and drop methods #204

Merged pull requests:

danielcaldas
published 2.4.0 •

Changelog

Source

2.4.0

⚠️ This distribution is not valid, it not up to date with the changes described in its previous CHANGELOG.md. Please use version 2.4.1 of this library instead. Issue reported in The release version does not contain some fixes #314.

danielcaldas
published 2.3.0 •

Changelog

Source

2.3.0

Full Changelog

Merged pull requests:

danielcaldas
published 2.2.0 •

Changelog

Source

2.2.0

Full Changelog

Fixed bugs:

  • Drag&Drop does not work for leaf nodes after collapsing and "uncollapsing" #223
  • [Sandbox] Fail to remove links / nodes in the live demo example #212
  • Error clicking nodes composed of mdi-react icons #201

Closed issues:

  • link.renderLabel is not true by default #210
  • onDoubleClickNode #194

Merged pull requests:

Chore:

danielcaldas
published 2.1.0 •

Changelog

Source

2.1.0

Full Changelog

Fixed bugs:

  • When using an icon from mdi-react in a node, clicking the node throws an error. #201

New features:

  • onDoubleClickNode #194
danielcaldas
published 2.0.2 •

Changelog

Source

2.0.2

Full Changelog

Fixed bugs:

  • Delete (remove) nodes and links from graph #183

Closed issues:

  • Is there a way to make the graph render consistently? #193
  • Addition to readme #190

Merged pull requests:

danielcaldas
published 2.0.1 •

Changelog

Source

2.0.1

Full Changelog

Fixed bugs:

danielcaldas
published 2.0.0 •

Changelog

Source

2.0.0

Full Changelog

Fixed bugs:

  • Link Colors not used when adding to graph #169
  • Node id 0 not set properly #160
  • Nodes added or deleted from a graph with nodes in fixed positions will cause issues #151
  • Collapsible config option can cause orphaned nodes to not be displayed #129

Closed issues:

  • Reverse the direction of arrows for "directed" property #153
  • viewGenerator key being dropped in config merge #142
  • Links labeling #47

Merged pull requests:

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc