])</span>

        <span class="k">if</span> <span class="n">return_g</span><span class="p">:</span>
            <span class="c1"># g_sorted = [g[v] for v in v_list]</span>
            <span class="k">return</span> <span class="n">e_list</span><span class="p">,</span> <span class="n">g_e</span>
        <span class="k">else</span><span class="p">:</span>
            <span class="k">return</span> <span class="n">e_list</span></div>


<div class="viewcode-block" id="EmbeddedGraph.lower_edges">
<a class="viewco