press ESC to quit graph view