You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the suggested way to customize the visualization of a graph created with networkx?
import networkx as nx
G = nx.petersen_graph()
pdot = nx.drawing.nx_pydot.to_pydot(G)
# some styling here
# ....
png_path = "test.png"
pdot.write_png(png_path)