Categories
Uncategorized

Coordinates for a sphere layout – Python

We want to create the coordinates for 40 nodes using the sphere layout in igraph, which will then be used on a Pajek file. Creating the Coordinates Load the igraph module and create an empty graph, then add the 40 nodes. Good, so we have a graph with 40 nodes, and no edges. Now we […]