@staticmethod
def pointers2namemmaps(p):
    """
        Get a map from source to transformed IRF node names.
        :param p: ``dict``; map from source to transformed IRF nodes.
        :return: ``dict``; map from source to transformed IRF node names.
        """
    fw = {}
    bw = {}
    for t in p:
        for t_pc in p[t]:
            if not t.name() in fw:
                fw[t.name()] = []
            if not t_pc.name() in fw[t.name()]:
                fw[t.name()].append(t_pc.name())
            if not t_pc.name() in bw:
                bw[t_pc.name()] = []
            if not t_pc.name() in bw[t_pc.name()]:
                bw[t_pc.name()].append(t.name())
    return fw, bw
