an class="at">mode=</span><span class="st">"undirected"</span>, <span class="at">diag =</span> <span class="cn">FALSE</span>)</span>
<span id="cb7-22"><a href="#cb7-22" aria-hidden="true" tabindex="-1"></a>igraph<span class="sc">::</span><span class="fu">V</span>(g1)<span class="sc">$</span>size <span class="ot">&lt;-</span> igraph<span class="sc">::</span><span class="fu">degree</span>(g1)</span>
<span id="cb7-23"><a href="#cb7-23" aria-hidden="true" tabindex="-1"></a>g1r <span class="ot">&lt;-</span> casn