">)</span></div>
    <span class="c1"># plt.show()</span>


<div class="viewcode-block" id="nx_degree"><a class="viewcode-back"
                                              href="../../straph.utils.html#straph.utils.nx_degree">[docs]</a><span
        class="k">def</span> <span class="nf">nx_degree</span><span class="p">(</span><span class="n">G</span><span
        class="p">):</span>
    <span class="k">return</span> <span class="p">{</span><span class="n">n</span><span class="p">:</span> <span
           