title: Get all edges linked to a given node in a networkx graph
body: <p>Just wondering if there is convenient networkx function that returns a list of edges connected to a given node (or nodes) (e.g. <code>my_node_name</code>) in a graph (e.g. <code>G</code>).</p>
  
  <p>I can do it this way:</p>
  
  <pre><code>edlist=[]
  for ed in G.edges():
       if 'my_node_name' in ed:
              edlist.append(ed)
  </code></pre>
  
  <p>but expect there might be a better way?</p>