add pointer to graph