Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide descendant() and anscestors() functions #204

Open
voxoid0 opened this issue Oct 4, 2024 · 1 comment
Open

Provide descendant() and anscestors() functions #204

voxoid0 opened this issue Oct 4, 2024 · 1 comment

Comments

@voxoid0
Copy link

voxoid0 commented Oct 4, 2024

The library really should provide descendants() and ancestors() functions (recursive versions of predecessors() and successors()) out of the box, like python's networkx lib does. This was mentioned before in issue #34 .

@cogell
Copy link

cogell commented Dec 23, 2024

Hey mate, I saw that the concern in issue #34 was the recursive versions hit stack-overflow issues in JS while imperative versions didn't.

Why do you want descendants() and ancestors() despite this? What am I missing? 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants