question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Sankey nodeAlign?

See original GitHub issue

Curious if there are any plans to merge the more recent d3-sankey support for node alignment (from this commit, June 13 of this year) into your fork? It’s a really useful feature that I’d love to be able to use with your great wrapper.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:8
  • Comments:20 (9 by maintainers)

github_iconTop GitHub Comments

6reactions
phillyocommented, Mar 16, 2018

would be great to have this option! when visualizing process flows, it makes no sense that the terminal nodes are all on the right of the viz (as for those which did not pass the whole process, they should not be on the same level as all the nodes which did).

4reactions
JeroenSchmidtcommented, Mar 28, 2019

@harisbal thank you for the link showing how to use ranksets. This is a really handy feature when one wants to order their sankey data according to a temporal layout - for example when plotting the evolution of communities that appear and disappear over time.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to change alignment of nodes in a Sankey diagram using ...
The alignment of d3.sankey can be configured using .nodeAlign() , and for your requirement, you will need .nodeAlign(d3.sankeyLeft).
Read more >
Sankey Diagram
schemeCategory10); var sankey = d3.sankey() . ... nodeAlign(d3. ... + "\n" + format(d.value); }); node = node .data(data.sankey.nodes) ...
Read more >
Sankey Layout Alignment - GitHub Gist
// Iteratively assign the breadth (x-position) for each node. // Nodes are assigned the maximum breadth of incoming neighbors plus one;. // nodes...
Read more >
Sankey Diagram / D3 - Observable
Convert nodeAlign from a name to a function (since d3-sankey is not part of core d3). if (typeof nodeAlign !== "function") nodeAlign =...
Read more >
@plotly/d3-sankey - npm Package Health Analysis | Snyk
nodeAlign ([align]) <>. If align is specified, sets the node alignment method the specified function and returns this Sankey generator.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found