add graph object