cs]</a><span class="k">def</span> <span class="nf">zero_d_graph_to_molecule_graph</span><span class="p">(</span><span class="n">bonded_structure</span><span class="p">,</span> <span class="n">graph</span><span class="p">):</span>
    <span class="sd">&quot;&quot;&quot;</span>
<span class="sd">    Converts a zero-dimensional networkx Graph object into a MoleculeGraph.</span>

<span class="sd">    Implements a similar breadth-first search to that in</span>
<span class="sd">    calculate_dimensionality_of_site