ngneat / dag

🐠 An Angular service for managing directed acyclic graphs
MIT License
155 stars 7 forks source link

New Children Count Function #18

Closed pjlamb12 closed 3 years ago

pjlamb12 commented 3 years ago

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[x] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

There was no way to get a count of how many children a node had, but some UIs need that information

Issue Number: #15

What is the new behavior?

There is a new method that returns the count

Does this PR introduce a breaking change?

[ ] Yes
[x] No