lass="p">)</span>

     <span class="c1">## visualize embedding</span>
     <span class="n">embedding_visualization</span><span class="o">.</span><span class="n">visualize_embedding</span><span class="p">(</span><span class="n">multilayer_network</span><span class="p">)</span>

     <span class="c1">## output embedded coordinates as JSON</span>
     <span class="n">output_json</span> <span class="o">=</span> <span class="n">embedding_tools</span><span class="o">.</span><span class="n">get_2d_coordinates_tsn