Skip to content

Releases: danielcaldas/react-d3-graph

Exposing node information on all callbacks, bug fixes, documentation improvements

18 Dec 03:47
Compare
Choose a tag to compare

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:

Support w/h in node.size, control node's label positioning, better arrow overlap computation

03 Jul 12:13
Compare
Choose a tag to compare

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:

Extended configuration API, bug fixes, documentation improvements

29 Mar 10:27
Compare
Choose a tag to compare

Full Changelog

Special announcement:

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:

Please move to 2.4.1

01 Mar 13:29
6a6f811
Compare
Choose a tag to compare

⚠️ This version 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.

onNodePositionChange, update to babel7, other misc. improvements

14 Sep 16:24
Compare
Choose a tag to compare

Full Changelog

Merged pull requests:

staticGraphWithDragAndDrop, fix custom link props, bug fixing

05 Sep 23:05
Compare
Choose a tag to compare

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:

onDoubleClickNode and bug fix

23 Jun 20:23
Compare
Choose a tag to compare

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

Bug fix delete nodes and links from graph

27 Apr 09:22
Compare
Choose a tag to compare

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:

Links get disappeared while dragging the nodes

27 Mar 18:13
Compare
Choose a tag to compare

2.0.1

Full Changelog

Fixed bugs:

Links colors and label, bug fixing, more granular properties

04 Mar 16:09
Compare
Choose a tag to compare

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: