graphnodes now store their index