You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
First of all I am a big fan of all d3 related :)
While sankey does a great job with its layout capabilities, I am missing the simple ability of placing a node at a given X,Y.
Our design requires us to place a node at a corner like in the following picture:
I've managed to add a simple function accountForStickyNodesPosition to sankeys source which solves my need, and thought to share it here and get a feedback.
I 100% support having this feature built in. I also need to be able to enforce the position of nodes (not as an absolute (x,y), just in terms of order)
Hello,
First of all I am a big fan of all d3 related :)
While sankey does a great job with its layout capabilities, I am missing the simple ability of placing a node at a given X,Y.
Our design requires us to place a node at a corner like in the following picture:
I've managed to add a simple function
accountForStickyNodesPosition
to sankeys source which solves my need, and thought to share it here and get a feedback.later all it takes is to add one of the following props
YPos
andXPos
to your chosen node like somaybe there is a better way of doing this, would like to hear your thoughts.
The text was updated successfully, but these errors were encountered: