d3-sankey-diagram icon indicating copy to clipboard operation
d3-sankey-diagram copied to clipboard

More clearly defined expected nodes and links data

Open peteruithoven opened this issue 4 years ago • 1 comments

This one kind of builds on #22. Node groups clearly states "should be given in the following format" which then gives a clear example.

I noticed that the expected format for links, nodes data on the other hand is kind of undocumented. Especially since there are properties like the following which are otherwise only documented elsewhere.

  • linkstype Used in default linkTitle
  • nodesdirection Used in default nodeBackwards

peteruithoven avatar Jul 08 '19 21:07 peteruithoven

I'd be happy to do a PR, but I'd appreciate some additional info, corrections and/or confirmations first.

peteruithoven avatar Jul 08 '19 21:07 peteruithoven