Categories
Uncategorized

Random d3js Network Graph – Python & d3js

I was looking for something similar to igraph’s erdos.renyi.game(n, p.or.m) that would allow me to create a random network graph and export it as a json file with the following format. Unfortunately I could’t fing anything, so I wrote the following python script that does just that