init commit of Undirected Graph