hp2any-graph should update the window without needing user interaction

Currently hp2any-graph updates the window only when it receives a window system event like mouse moving. This is inconvenient because you need to keep moving your mouse or keep a key pressed to get the window updated real time.