title: Adding label to the links in D3 force directed graph
body: <p>I have created a force directed graph but I'm unable to add text to the links created.</p>
  
  <p>How can I do so?</p>
  
  <p>Following is my code <a href="http://plnkr.co/edit/doZtwcQwamIfInTuFB8x?p=preview" rel="nofollow">link</a></p>
  
  <p>I have used the following line to append the titles on the link's, but its not coming.</p>
  
  <pre><code>link.append("title")
    .text(function (d) {
       return d.value;
     });
  </code></pre>
  
  <p>What am I doing wrong with this ?</p>