createGraph improved