title: Printing edge list with node degrees using igraph in R
body: <p>I am new to using igraph and R and want to do the following :</p>
  
  <p>1) Calculate the path length distribution. I could find the average path length using the straight forward function from the library but how to do it for every pair of vertices so i get the path length distribution ?</p>
  
  <p>2) I want to find out all nodes who have higher degree than their neighbors. I tried combining the E() function with degree() but its not working. </p>
  
  <p>Thanks</p>