().</span>

<span class="sd">    Args:</span>
<span class="sd">        bonded_structure (StructureGraph): A structure with bonds, represented</span>
<span class="sd">            as a pymatgen structure graph. For example, generated using the</span>
<span class="sd">            CrystalNN.get_bonded_structure() method.</span>
<span class="sd">        graph (nx.Graph): A networkx `Graph` object for the component of</span>
<span class="sd">            interest.</span>

<span class="sd">    Returns:</span>
<span