Skip to content
This repository has been archived by the owner on Nov 7, 2018. It is now read-only.

[d3-sankey] Option to explicitly assign nodes to stacks #88

Open
thiloplanz opened this issue Mar 21, 2014 · 1 comment
Open

[d3-sankey] Option to explicitly assign nodes to stacks #88

thiloplanz opened this issue Mar 21, 2014 · 1 comment

Comments

@thiloplanz
Copy link

The layout() function automatically assigns nodes to stacks ("computeNodeBreadths") according to their distance from the sources.

It would be nice to have some option on the node to explicitly override this to manually arrange nodes into stacks. (Behaviour when that is inconsistent with the direction of flows can be undefined).

@smartinsightsfromdata
Copy link

I support this.
To me, without overcomplicating the issue, it would be nice in case to just add a column with the position / level desired for the representation on the X axis (from left to right).

Enzo

thiloplanz added a commit to thiloplanz/d3-plugins that referenced this issue Sep 25, 2014
If present, this will override the x-position/stack for this node
(otherwise computed during layout in computeNodeBreadths)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants