toposort
toposort copied to clipboard
On Cyclical Dependency Error: Include Id Property In Error Object?
Hey!
Great npm package for topological sort. I was wondering if perhaps the error that's thrown when getting a cyclical dependency could be made to include the node id as a property in the error object instead of having to split the error message string to get to it?