complete graph generation