Written networkx random graph and ER graph