Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: diagonal networks with multiple root nodes and node/edge data frames #253

Open
wlandau opened this issue Apr 16, 2019 · 1 comment

Comments

@wlandau
Copy link

wlandau commented Apr 16, 2019

Diagonal networks would be an amazing addition to drake's dependency graph visualizations. However, there are two obstacles:

  1. The List data structure, which I would have to compute using the existing Nodes and Links data frames.
  2. The requirement that we have only a single root node.

Is there a way to easily transition from sankeyNetwork() to diagonalNetwork() using the same graphs and same data structures?

@cjyetman
Copy link
Collaborator

I have written a number of conversion routines that transform various data formats into formats that the various networkD3 functions require, however, the diagonal networks and sankey networks are based on completely different D3/Javascript implementations, so there’s no “easy”, direct switching from one to the other. Additionally, the diagonal networks, being what they are, have a hard requirement that the data be hierarchical, so not every dataset that works in sankey will work with diagonal. Additionally, there is currently no ability for a diagonal network to have multiple root nodes... though two discrete diagonal networks could be used together to show to separate branches that begin at different nodes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants