code: def node_from_nid(self, nid):
          
          for node in self.iflat_nodes():
              if node.node_id == nid: return node
          raise ValueError("Cannot find node with node id: %s" % nid)
docs: Return the node in the `Flow` with the given `nid` identifier