component_graph</span>

        <span class="n">components</span><span class="o">.</span><span class="n">append</span><span class="p">(</span><span class="n">component</span><span class="p">)</span>
    <span class="k">return</span> <span class="n">components</span></div>


<div class="viewcode-block" id="calculate_dimensionality_of_site"><a class="viewcode-back" href="../../../pymatgen.analysis.dimensionality.html#pymatgen.analysis.dimensionality.calculate_dimensionality_of_site">[docs]</a><span class="k">