Skip to content

Releases: ricklupton/d3-sankey-diagram

v0.7.0

05 Mar 22:21
Compare
Choose a tag to compare
  • add node value text (visible within nodes when width > 1): example

v0.6.1

06 Nov 10:14
Compare
Choose a tag to compare
  • Don't hide node groups with only one node (#6)

v0.6.0

03 Nov 15:36
Compare
Choose a tag to compare

Updated plugin for d3 v4.

The Sankey diagram layout code from the old npm package sankey-layout has been incorporated into this package. D3-related code has been updated to be based on version 4. The package has been refactored to make it more modular and easier to use just the features you need -- for example, if you have saved a Sankey diagram layout, the graph layout algorithm can be easily skipped to use your saved coordinates directly.

New features:

  • Customise link titles
  • Improved link transitions
  • Better interface to set rankSets, ordering, groups separately from the main graph object
  • Configurable minimum link width
  • Nodes can have a width
  • "Ports" allow grouping of links at a node, e.g. to show subdivisions or to align link types

v0.4.1

21 Oct 10:42
Compare
Choose a tag to compare

Changes since v0.4.0:

  • Bump sankey-layout to v0.2.4
  • Change styles "visibility: hidden" to "display: none": this works better with Inkscape

v0.4.0

19 Jul 09:05
Compare
Choose a tag to compare
0.4.0

v0.3.0

16 Jun 16:16
Compare
Choose a tag to compare
0.3.0