Adjusted GraphView to adapt to resizing.