Maximizing the Total Resolution of Graphs