added recentering of partial graph