This source code is from https://github.com/jriecken/dependency-graph Just added "any" types here, wrapper everything into exported class. We cant use a package itself because we want to package "everything-in-it" for the frontend users of TypeORM.
Helper for creating a Depth-First-Search on a set of edges.
Detects cycles and throws an Error if one is detected.
The set of edges to DFS through
Whether to only return "leaf" nodes (ones who have no edges)
An array in which the results will be populated
Generated using TypeDoc
This source code is from https://github.com/jriecken/dependency-graph Just added "any" types here, wrapper everything into exported class. We cant use a package itself because we want to package "everything-in-it" for the frontend users of TypeORM.