would be great to add tests for edge cases of probEdge=0 and probEdge=1 for both directed and undirected graph generation.