pan class="p">]))</span>
    <span class="k">else</span><span class="p">:</span>
        <span class="k">return</span> <span class="n">rank</span><span class="p">(</span><span class="n">seen_comp_vertices</span><span class="p">[</span><span class="n">site_index</span><span class="p">])</span></div>


<div class="viewcode-block" id="zero_d_graph_to_molecule_graph"><a class="viewcode-back" href="../../../pymatgen.analysis.dimensionality.html#pymatgen.analysis.dimensionality.zero_d_graph_to_molecule_graph">[do