Modified graph creation