angular-inject-graph
v0.3.0
Published
Create a graph of an angular project's dependencies
Readme
Angular Inject Graph
This project is a node utility that analyses an angular project and exports a graph with the project's architecture: modules, controllers, directives, components and filters.
How to use it:
- Require the module:
var angularInjectGraph = require('angular-inject-graph'),
])- Call it with your project code:
var deps = angularInjectGraph([
{ id: 'file1.js', text: '<angular code here in a string>' },
{ id: 'file2.js', text: '<angular code here in a string>' }
])It was designed with grunt in mind. Use it with grunt-angular-modules-graph.
- Do whatever you want with the resulted graph object
About
This project was originally forked from , extracted from @carlo-colombo's angular-modules-graph, then forked again from @lucalanca's angular-architecture-graph
License:
MIT
