mgraph improvement