Given the following graph:

What algorithm can I use to output topological ordered lists with tasks to complete, and that are relevant for just for a specific node?
For example, considering the node 2, the list should be:
7, 5, 11, 2
or
5, 7, 11, 2
2Example: