Skip to content

v0.6.0

Compare
Choose a tag to compare
@ricklupton ricklupton released this 03 Nov 15:36
· 44 commits to master since this release

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