🚀 Gen 5 of the leading AI app deployment platform launches October 6. Click for the livestream.

Vertically aligning nodelabels with nodes Plotly.go.Sankey

I’ve recently updated plotly to the newest version, which fixed the issue with using html for node labels. So i can now add linebreaks by adding
to my label strings. However this seems to have broken the aligning functionality. And now my nodelabels are added at the top of the node instead of the center. As centering in HTML5 has been removed, and moved to CSS i don’t know a workaround for this. I can ofcourse manually add enough linebreaks to get it to fit, but this seems like a terrible solution.