add graphIndexing class