def walk_down(subgraph, node):
    """ return all the nodes below node including node """
    res = [node]
    for edge in subgraph.out_edges(node.name):
        res.extend(walk_down(subgraph, edge.to_node))
    return res