Snap arrangement

Hi Plotly community!

Does anyone know how the snap arrangement works in Sankey, for instance? I am wondering how the location of the nodes is computed. Thank you in advance for your precious help!