title: Labels in sankey diagram
body: <p>I created a Sankey diagram with Plotly but I don't understand the behaviour.</p>
  <pre><code>import plotly.graph_objects as go
  
  fig = go.Figure(go.Sankey(
      arrangement = &quot;snap&quot;,
      node = {
          &quot;label&quot;: ['F1', 'F2'], 
          'pad':10 
          },  
      link = {
          &quot;source&quot;: [1,2], 
          &quot;target&quot;: [0,0], 
          &quot;value&quot;: [1,1]
          }))
  
  fig.show()
  
  fig.write_image('output.png')
  </code></pre>
  <p>The output is:</p>
  <p><a href="https://i.stack.imgur.com/SYw2F.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SYw2F.png" alt="enter image description here" /></a></p>
  <p>... I've specified two flows. Both have the same target node (0). So far so good. But why does the label of one flow show up next to the <em>source node</em> and the label of the other flow shows up next to the <em>target node</em>? I would expect both labels to be displayed next to the nodes on the left hand side and not one label next to the node on the left hand side and one label next to the node on the right hand side.</p>
  <p>Why are both labels not displayed next to the two nodes on the left hand side?</p>