Update of dimensional information of Graph.