Generate star graphs