Optimize structure of GiGraphView.