Editing GraphIndexing class