backToHome method

void backToHome()

Resets the focus point to the home position (0,0).

Implementation

void backToHome() {
  graph.focusPoint = GraphOffset(0, 0);
}