I'm trying to use the excellent d3-sankey-diagram library by Rick Lupton to draw a sankey diagram. On the demo page "alignLinkTypes" is used to align links with the same types over nodes, but since November 2017 this keyword does not work any more; https://github.com/ricklupton/d3-sankey-diagram/commits/master/src/sankeyLayout/link-ordering.js. However, it's supposed to be possible to accomplish the same thing using ports.
I've tried to search the readme, the wiki and the source code for an answer, but I haven't found one yet.
Can someone tell me how to align link types like in the demo?