Create the network graph, using sage(math library).