working on the function to generate atomic complete graph of three nodes