public void colorizeGraph(LabelPropagationCluster[] graphClusters) {
        if(graphClusters == null) {
            return;
        }


        for (LabelPropagationCluster cluster : graphClusters) {
            Color color = cluster.getColor();
            for (Node node : cluster.getNodes()) {
                colorizeNode(node, color);
            }
        }
    }