I am creating a list of graphs as a part of this demonstration. I have some data from which I am generating some graphs. Here’s the code for it:

def generate_graphs(n_graphs, n_nodes):

```
datapoints = []
for _ in range(n_graphs):
#load the processed data
data_graph = get_data(n_nodes, full_data)[0]
#Arrays used to assign weights to the graphs
importance = get_data(n_nodes, full_data)[1]
duration = get_data(n_nodes, full_data)[2]
graph_point = nx.Graph()
graph_point.add_nodes_from(np.arange(n_nodes))
for i in range(n_nodes):
for j in range(i+1, n_nodes):
graph_point.add_edge(i, j, weight = np.minimum(importance.data[i]*duration.data[j], importance.data[j]*duration.data[i]))
datapoints.append(graph_point)
return datapoints
```

After this, I move on to draw the graphs as done in the tutorial:

```
# Define parameters of the graphs
n_graphs = 10
n_nodes = 3
graphs = generate_graphs(n_graphs, n_nodes)
nx.draw(graphs[0])
```

This is the output that I get:

Now, I am not sure why I don’t see the edges. In addition, I have 4 nodes instead of 3. Besides, when I `import numpy as np`

instead of `from pennylane import numpy as np`

, I do not face this issue and the graph comes out correctly. Please let me know where I might be going wrong.