Text this: Method of Achieving the Goal on a Graph Model with Two Quality Criteria