Refact GraphView.