> Works only in development mode and shows dependency graph for the server build
npm install @tramvai/module-deps-graph> Works only in development mode and shows dependency graph for the server build
Module to show token dependency graph.
First install @tramvai/module-deps-graph:
``bash npm2yarn`
npm i @tramvai/module-deps-graph
Add module to the modules list
`tsx
import { createApp } from '@tramvai/core';
import { DepsGraphModule } from '@tramvai/module-deps-graph';
createApp({
modules: [DepsGraphModule],
});
`
Module adds papi-route /deps-graph that will display dependency graph with the functionality to search by token or module name.
> Actual relative path to the papi-route will be /:appName/papi/deps-graph where appName - name of the app passed to the createApp`
- Blue - usual provider
- Yellow - multi-provider
- Red - provider satisfying to search expression