ON THE GENERALIZED GRAPH IDEALS