I would like to know if there is an efficient algorithm S = F(v,G) to construct a subgraph S out of a DAG G = (V,E) such that all the paths in S contain the vertex v of V. If so, it is possible to efficiently extend F to F'(N,G) for a set of vertices N. I am open to any data structures for storing the DAG G initially.
Actually a condition I forgot to add would be that G has a unique vertex r with no incoming edge and a path must be of the form where d is a vertex with no outgoing edge.
Another condition I have missed is given the extended F'(N,G) such that for all v,w of N if < r,..,v,..,w > where w is a sink, then we should disregard for paths < r,..,v,..,x > where x != w.
I actually have one solution but it does not scale, when #V > 2000 and #N > 2.