}
private static List<Node> getGccNodes(Graph graph) {
ConnectedComponents c = new ConnectedComponents();
c.init(graph);
c.compute();
return c.getGiantComponent();
}
private static void centrality(Graph graph) {
ClosenessCentrality c = new ClosenessCentrality("centrality");