def get_the_node_dict(G, name):
for node in G.nodes(data=True):<EOL><INDENT>if node[<NUM_LIT:0>] == name:<EOL><INDENT>return node[<NUM_LIT:1>]<EOL><DEDENT><DEDENT>
Helper function that returns the node data
of the node with the name supplied