def add_member_dicts(graph):
    """
    Add names and bigs to the node attribute dictionaries in the graph, based
    on the values provided by pydot.
    """
    for key in graph.nodes_iter():
        graph.node[key].update({'name': key})
    for parent, child in graph.edges_iter():
        graph.node[child]['big_name'] = graph.node[parent]['name']
