e</span><span class="p">(</span><span class="n">multilayer_network</span><span class="p">,</span><span class="n">output_format</span><span class="o">=</span><span class="s2">&quot;json&quot;</span><span class="p">)</span>

     <span class="k">with</span> <span class="nb">open</span><span class="p">(</span><span class="s1">&#39;../datasets/embedding_coordinates.json&#39;</span><span class="p">,</span> <span class="s1">&#39;w&#39;</span><span class="p">)</span> <span class="k">as</span> <span class="n">outfi