title: How to draw a weighted graph with snap.py?
body: <p>I want to draw a network which can show the weight of each edge.</p>
  
  <p>Currently, I was able to draw an unweighted graph using <code>PUNGraph</code> of SNAP.</p>
  
  <blockquote>
    <p>G = snap.PUNGraph.New()</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/B45bk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/B45bk.png" alt="enter image description here"></a></p>
  
  <p>However, I wasn't able to find the class for the weighted graph.<br>
  I don't want to just put the value above the edge, I want to somehow resize the edge base on the value of the edges.</p>
  
  <p>Could someone tell me how I can draw graph something like below?</p>
  
  <p>If possible I would like a solution using SNAP.</p>
  
  <p><a href="https://i.stack.imgur.com/5s0nB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5s0nB.png" alt="enter image description here"></a></p>