title: Plot directional edges as non-overlapping lines
body: <p>I have a networkx directional graph.  I'd like to plot it so that nodes that interact (A->B, B->A) have two edges displayed and the colors correspond to the relative weights.</p>
  
  <p>Currently I have a simple three-node graph.  Naturally the flow is "order created" -> "order closed" but on not-so-rare occasions the flow can be reversed!</p>
  
  <p><a href="https://i.stack.imgur.com/pRv9p.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pRv9p.png" alt="my simple graph"></a></p>
  
  <p>Since this is going on a dashboard, I need to avoid the "download it and use another software package" to visualize it.  Ideally I'd just use igraph (love it in R), but it's not supported in my environment (Mode Analytics).</p>
  
  <p>Is the best solution to just create a hack where I split every node to a pair: "node-sender" and "node-receiver"?  At least that would have the bonus of seeing self-edges too.  Or maybe switch to plotly's chord diagram?</p>
  
  <p><strong>Edit: What I'm looking for</strong></p>
  
  <p>Ideally I could just use something like the qgraph package in R.</p>
  
  <pre><code>edges &lt;- data.frame(from = from_node, to = to_node, thickness = weights)
  qgraph(edges, esize=10, gray=TRUE)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/u42t3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/u42t3.png" alt="enter image description here"></a></p>