added graph into index