add graph object to index package