def dependent_nodes(scheme, node):
 def expand(node):
  return [link.sink_node for link in scheme.find_links(source_node=node) if link.enabled]
 nodes = list(traverse_bf(node, expand))
 assert (nodes[0] is node)
 return nodes[1:]

def dependent_nodes ( scheme , node ) : def expand ( node ) : return [ link . sink_node for link in scheme . find_links ( source_node = node ) if link . enabled ] nodes = list ( traverse_bf ( node , expand ) ) assert ( nodes [ 0 ] is node ) return nodes [ 1 : ]
return a list of all nodes in scheme that are dependent on node .