> <span class="o">=</span> <span class="p">[</span><span class="n">x</span> <span class="k">for</span> <span class="n">x</span> <span class="ow">in</span> <span class="n">nx</span><span class="o">.</span><span class="n">connected_components</span><span class="p">(</span><span class="n">subgraph</span><span class="p">)]</span>

        <span class="n">func_grps</span> <span class="o">=</span> <span class="p">[]</span>
        <span class="k">for</span> <span class="n">func_grp</span> <span class="ow">in</spa