Added calculation of graph density to index view.