generate complete graph