def create_dict_cc_nodes_cc(dict_projections):
    """
    Create dictionary of connected components.
    :param dict_projections: Dict of nodes and their embeddings
    :return: dict cc: key - the number of the cc , value - list of nodes in this cc
             dict_nodes_cc: key - the graph's node , value - the number of cc the node is in
    """
    keys = list(dict_projections.keys())
    dict_cc = {0: keys}
    dict_nodes_cc = {m: 0 for m in keys}
    return dict_cc, dict_nodes_cc