;A&#39;</span><span class="p">)</span>
    <span class="nb">print</span><span class="p">(</span><span class="sa">f</span><span class="s1">&#39;Coordinates of A: </span><span class="si">{</span><span class="n">coords</span><span class="si">}</span><span class="s1">&#39;</span><span class="p">)</span>

    <span class="c1"># Set new coordinates for a vertex</span>
    <span class="n">graph</span><span class="o">.</span><span class="n">set_coordinates</span><span class="p">(</span><span class="s1">&#39;A&#39;<