filter needs to ancestors/descendants #617
Replies: 4 comments 2 replies
-
Relevant to my other post #615. But beware it is quite inefficient. |
Beta Was this translation helpful? Give feedback.
-
@danwos is there a convenient way to at least get the immediate parents or children of a need? |
Beta Was this translation helpful? Give feedback.
-
I'm afraid not. You only have the IDs in the different link-options and you need to look them up by your own. |
Beta Was this translation helpful? Give feedback.
-
i made a proof of concept extension that builds a directed graph of 'nodes' - https://github.com/danieleades/sphinx-graph it doesn't do anything with them right now, but i'm pretty happy with the approach. If there's anything useful in there that can be ported into sphinx-needs, be my guest! |
Beta Was this translation helpful? Give feedback.
-
I'd like to produce a
needflow
that contains only ancestors or descendants of a given need. Is there an easy way to do this?To be clear, I want to include all ancestors and descendants, not just immediate ones
Beta Was this translation helpful? Give feedback.
All reactions