title: Iterate over edges at a node
body: <p>I'm trying to clip edges that have irregular values in my graph, the actual values associated with these edges are stored outside <code>networkx</code>. I plan to iterate over all the nodes in my graph to do this kind of pruning (100,000 elements).</p>
  
  <pre><code>import networkx as nx
  G=nx.Graph()
  G.add_node(1)
  G.add_node(2)
  G.add_node(3)
  G.add_edges_from([(1,2),(2,3)])
  edges=G.get_edges_from_node(2) #(1,2),(2,3)
  </code></pre>
  
  <p>I can't quite seem to find the function for this.</p>