Draw interactive NetworkX graphs with Altair

Draw NetworkX graphs with Altair nx_altair offers a similar draw API to NetworkX but returns Altair Charts instead. If you’d like to contribute, join the Gitter chatroom and share your ideas! Also, checkout the to-do list below. Examples If you’d like to start playing with nx_altair, download this notebook! Simple graph import networkx as nx import nx_altair as nxa # Generate a random graph G = nx.fast_gnp_random_graph(n=20, p=0.25) # Compute positions for viz. pos = nx.spring_layout(G) # Draw    

Read more