Python editor with NetworkX already loaded. Press
Ctrl+Enter to run,
Call nx.draw then plt.show(). New to NetworkX?
Follow the
tutorial
and paste each exercise here.
Runs in your browser (Pyodide) — nx, np, and plt are preloaded. Call plt.show() after nx.draw. Uploads persist after
refresh. plt.savefig("fig.png") shows up on the file chips —
click ↓ to download.
Matplotlib figures appear here after plt.show().