4 ms·
Same! I felt it'd be above my IQ-level, so networkx-ed it. Here's another obvious solution: pos = nx.spring_layout(G) nx.draw_networkx_nodes(G, pos)
by guiambros 3y ago
Same! I felt it'd be above my IQ-level, so networkx-ed it.
Here's another obvious solution:
pos = nx.spring_layout(G)
nx.draw_networkx_nodes(G, pos)
nx.draw_networkx_edges(G, pos)
nx.draw_networkx_labels(G, pos, font_size=10, font_color="white")
plt.show()
Thankfully it was my fastest solution (after day 1). After 25 days, I wasn't in the mood of spending hours post-xmas dinner solving convoluted riddles.