def METHOD_NAME(rd, prefix, node_feat, _with_parent_node_index):
    """parse_to_subgraph
    """
    def work():
        """work
        """
        for data in rd():
            feed_dict = data
            for key in node_feat:
                feed_dict[prefix + '/node_feat/' + key] = node_feat[key][
                    feed_dict["parent_node_index"]]
            if not _with_parent_node_index:
                del feed_dict["parent_node_index"]
            yield feed_dict
    return work