Make sankey node rounded


I’m plotting sankey diagram with plotly using Python.
I’ve created this graph successfully and got a rectangular nodes:

However, I want to have my nodes with rounded corners.
I’ll try to add ‘border-radius’ property to style but it does not seem to work:

How can I achieve my goal?