def get_node(self, ID):
node = super(Graph, self).get_node(ID)<EOL>if node is not None:<EOL><INDENT>return node<EOL><DEDENT>for graph in self.all_graphs:<EOL><INDENT>for each_node in graph.nodes:<EOL><INDENT>if each_node.ID == ID:<EOL><INDENT>return each_node<EOL><DEDENT><DEDENT><DEDENT>else:<EOL><INDENT>return None<EOL><DEDENT>
Returns a node given an ID or None if no such node exists.