10.2 Construct A Simple Network
10.2 Construct A Simple Network
10.2 Construct A Simple Network
7, 8.
1 is a node.
2 is a node.
3 is a node.
graph.
It's empty.
And then, we can take a look at our network by just drawing it.
of Matplotlib.
in that environment.
of looking at a network.
So we have nx.springlayout.
Y is for yellow.
And this, again, you can play around with a little bit
to see.
And the alpha is the Matplotlib thing that we're looking for,
add_networkx_edges.
So we're going to get a network with red nodes and blue edges,
2, 3, 4, 5, 6, 7 in the thing.
There's no x and y.
what the format of your node is, the color, the transparency,
et cetera.
You might want to just back in the first name of the person
And then, you use the Network X labels just to actually render
Previous