How to find all source Nodes to a certain target node

Hi,

I'm using GDS to find the shortest path between a source node and a target node. The projection is based on the enabled routes / nodes and has directed connections.

In order to find the correct source node, I would like to retrieve a list from this projection that gets me all possible starting nodes that satisfy a certain filter. There are many examples to find possible routes starting from a single node. But I can't get my head on how to find all possible (this doesn't has to be shortest path) paths to a certain node.

Note: I need to do this, to get all possible routes to a certain position from a warehouse. Sometimes certain routes can be disabled because of faillures.

Any help would be greatly appreciated,
Thanks