an class="n">seen_indices</span><span class="p">]:</span>
            <span class="k">raise</span> <span class="ne">ValueError</span><span class="p">(</span><span class="s2">&quot;Graph component is not 0D&quot;</span><span class="p">)</span>

        <span class="n">seen_indices</span><span class="o">.</span><span class="n">append</span><span class="p">((</span><span class="n">comp_i</span><span class="p">,</span> <span class="n">image_i</span><span class="p">))</span>
        <span class="n">sites</span><