conexe graph creation