Documents injecute 1.x · Migrating from 0.x
Skip to content

Function: buildServicesGraph() ​

buildServicesGraph(container): Tree

Defined in: src/utils/build-services-graph.ts:111

Builds a plain object describing every service visible from container and its direct dependencies. Used by the playground to render the services graph.

Parameters ​

container ​

ServiceProvider<{ }> | AsyncServiceProvider<{ }>

Returns ​

Tree

Released under the MIT License.