class="n">component</span><span class="p">[</span><span class="s1">&#39;site_ids&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="nb">tuple</span><span class="p">(</span><span class="n">graph</span><span class="o">.</span><span class="n">nodes</span><span class="p">())</span>

        <span class="k">if</span> <span class="n">inc_molecule_graph</span> <span class="ow">and</span> <span class="n">dimensionality</span> <span class="o">==</span> <span class="mi">0</span><span class="p">