haleyhousellc / arboriculture

A simple tree library written in TypeScript.
https://haleyhousellc.github.io/arboriculture
ISC License
2 stars 0 forks source link

Revisit and refactor protected/private method signatures #5

Closed haleyga closed 6 years ago

haleyga commented 7 years ago

Many methods accept a starting node that defaults to the tree root. Upon further consideration, there is not likely a common/needed use case to support passing a starting root. The library has implemented all tree operations iteratively (rather than recursively), so removing the option to pass a non-root starting node will clean up the code a bit.

haleyga commented 6 years ago

See comments on issues #6, #12, and #14.