✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Sankey Diagram - Canvas scaling independent of Nodes

Hi Community,

I’m currently having issues with node scaling on the Sankey Diagram.

I want to be able to set the plot canvas to the full height and width of the view port.

Doing this, causes the nodes to also adjust and lose their original aspect ratio.

The nodes become elongated, when I expand the view port height of the canvas.

Is it possible to force the nodes to keep a certain aspect ratio, or specify a maximum allowed node height?

Thank you.

Submitted the issue. https://github.com/plotly/plotly.js/issues/4847