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
Hello,
I was able to successfully run the code , but I need to create a grid based graph something similar to this
import networkx as nx
from matplotlib import pyplot as plt
G = nx.grid_2d_graph(10,10)
plt.figure(figsize=(12,12))
pos = {(x,y):(y,-x) for x,y in G.nodes()}
plt.figure(figsize=(12,12))
nx.draw(G, pos=pos,
node_color='lightgreen',
with_labels=True,
node_size=600)
Can you please let me know how to generate a .col file for the same?
Thank you
The text was updated successfully, but these errors were encountered:
Hello,
I was able to successfully run the code , but I need to create a grid based graph something similar to this
Can you please let me know how to generate a .col file for the same?
Thank you
The text was updated successfully, but these errors were encountered: